Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubleshoot GH action #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Build Docker Image
uses: noble-assets/heighliner-build-action@d409c7b0dc2acc05a8218caad581bffae654c953
uses: strangelove-ventures/heighliner-build-action@v1.0.2
with:
registry: "" # empty registry, image only shared for e2e testing
tag: local # emulate local environment for consistency in interchaintest cases
tar-export-path: ${{ env.TAR_PATH }} # export a tarball that can be uploaded as an artifact for the e2e jobs
platform: linux/amd64 # test runner architecture only
git-ref: ${{ github.head_ref }} # source code ref
clone-key: ${{ secrets.HEIGHLINER_KEY }}

# Heighliner chains.yaml config
chain: aura-simd
Expand Down
8 changes: 4 additions & 4 deletions e2e/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module github.com/noble-assets/aura/e2e
module github.com/ondoprotocol/usdy-noble/e2e

go 1.21

require (
github.com/cosmos/cosmos-sdk v0.45.16
github.com/cosmos/ibc-go/v4 v4.6.0
github.com/gogo/protobuf v1.3.3
github.com/noble-assets/aura v1.0.0
github.com/ondoprotocol/usdy-noble v1.0.0
github.com/strangelove-ventures/interchaintest/v4 v4.0.0-20231026153934-334934f17a68
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.24.0
Expand Down Expand Up @@ -174,8 +174,8 @@ replace (
// https://github.com/cosmos/cosmos-sdk/issues/8469
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// use local noble-assets/aura
github.com/noble-assets/aura => ../
// use local ondoprotocol/usdy-noble
github.com/ondoprotocol/usdy-noble => ../

// use noble compatible strangelove-ventures/interchaintest
github.com/strangelove-ventures/interchaintest/v4 => github.com/noble-assets/interchaintest/v4 v4.0.0-20240525124701-0c3cc84d04e2
Expand Down
6 changes: 3 additions & 3 deletions e2e/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/gogo/protobuf/jsonpb"
_ "github.com/noble-assets/aura/x/aura"
"github.com/noble-assets/aura/x/aura/types"
"github.com/noble-assets/aura/x/aura/types/blocklist"
_ "github.com/ondoprotocol/usdy-noble/x/aura"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
"github.com/strangelove-ventures/interchaintest/v4"
"github.com/strangelove-ventures/interchaintest/v4/chain/cosmos"
"github.com/strangelove-ventures/interchaintest/v4/ibc"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/noble-assets/aura
module github.com/ondoprotocol/usdy-noble

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion proto/aura/blocklist/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package aura.blocklist.v1;

option go_package = "github.com/noble-assets/aura/x/aura/types/blocklist";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist";

// OwnershipTransferStarted is emitted whenever an ownership transfer is started.
message OwnershipTransferStarted {
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/blocklist/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto3";

package aura.blocklist.v1;

option go_package = "github.com/noble-assets/aura/x/aura/types/blocklist";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist";

message GenesisState {
// owner is the address that can control this submodule.
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/blocklist/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package aura.blocklist.v1;
import "cosmos/base/query/v1beta1/pagination.proto";
import "google/api/annotations.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types/blocklist";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist";

service Query {
rpc Owner(QueryOwner) returns (QueryOwnerResponse) {
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/blocklist/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package aura.blocklist.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types/blocklist";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist";

service Msg {
rpc TransferOwnership(MsgTransferOwnership) returns (MsgTransferOwnershipResponse);
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/v1/events.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package aura.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types";

// Paused is emitted whenever the module is paused.
message Paused {
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/v1/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package aura.v1;
import "aura/blocklist/v1/genesis.proto";
import "gogoproto/gogo.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types";

message GenesisState {
// blocklist_state is the genesis state of the blocklist submodule.
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/v1/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "aura/v1/genesis.proto";
import "gogoproto/gogo.proto";
import "google/api/annotations.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types";

service Query {
rpc Denom(aura.v1.QueryDenom) returns (aura.v1.QueryDenomResponse) {
Expand Down
2 changes: 1 addition & 1 deletion proto/aura/v1/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package aura.v1;

import "gogoproto/gogo.proto";

option go_package = "github.com/noble-assets/aura/x/aura/types";
option go_package = "github.com/ondoprotocol/usdy-noble/x/aura/types";

service Msg {
rpc Burn(aura.v1.MsgBurn) returns (aura.v1.MsgBurnResponse);
Expand Down
2 changes: 1 addition & 1 deletion proto/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ cd proto
buf generate --template buf.gen.gogo.yaml
cd ..

cp -r github.com/noble-assets/aura/* ./
cp -r github.com/ondoprotocol/usdy-noble/* ./
rm -rf github.com
6 changes: 3 additions & 3 deletions simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ import (
tmos "github.com/tendermint/tendermint/libs/os"
dbm "github.com/tendermint/tm-db"

"github.com/noble-assets/aura/x/aura"
aurakeeper "github.com/noble-assets/aura/x/aura/keeper"
auratypes "github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura"
aurakeeper "github.com/ondoprotocol/usdy-noble/x/aura/keeper"
auratypes "github.com/ondoprotocol/usdy-noble/x/aura/types"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions simapp/go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module github.com/noble-assets/aura/simapp
module github.com/ondoprotocol/usdy-noble/simapp

go 1.21

require (
github.com/cosmos/cosmos-sdk v0.45.16
github.com/cosmos/ibc-go/v4 v4.6.0
github.com/noble-assets/aura v1.0.0
github.com/ondoprotocol/usdy-noble v1.0.0
github.com/spf13/cast v1.5.1
github.com/spf13/cobra v1.7.0
github.com/tendermint/tendermint v0.34.27
Expand Down Expand Up @@ -158,8 +158,8 @@ replace (
// https://github.com/cosmos/cosmos-sdk/issues/8469
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1

// use local noble-assets/aura
github.com/noble-assets/aura => ../
// use local ondoprotocol/usdy-noble
github.com/ondoprotocol/usdy-noble => ../

// use cosmos compatible syndtr/goleveldb
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
Expand Down
2 changes: 1 addition & 1 deletion simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/crisis"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"
"github.com/noble-assets/aura/simapp"
"github.com/ondoprotocol/usdy-noble/simapp"
"github.com/spf13/cast"
"github.com/spf13/cobra"
tmcli "github.com/tendermint/tendermint/libs/cli"
Expand Down
4 changes: 2 additions & 2 deletions simapp/simd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/simapp"
"github.com/noble-assets/aura/simapp/simd/cmd"
"github.com/ondoprotocol/usdy-noble/simapp"
"github.com/ondoprotocol/usdy-noble/simapp/simd/cmd"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions utils/mocks/aura.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
"github.com/cosmos/cosmos-sdk/testutil"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

func AuraKeeper(t testing.TB) (*keeper.Keeper, sdk.Context) {
Expand Down
2 changes: 1 addition & 1 deletion utils/mocks/bank.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/errors"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

var _ types.BankKeeper = BankKeeper{}
Expand Down
2 changes: 1 addition & 1 deletion x/aura/client/cli/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/client/cli/query_blocklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/client/cli/tx_blocklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/tx"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions x/aura/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package aura

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
)

func InitGenesis(ctx sdk.Context, k *keeper.Keeper, genesis types.GenesisState) {
Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
transfertypes "github.com/cosmos/ibc-go/v4/modules/apps/transfer/types"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

type Keeper struct {
Expand Down
6 changes: 3 additions & 3 deletions x/aura/keeper/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
transfertypes "github.com/cosmos/ibc-go/v4/modules/apps/transfer/types"
"github.com/noble-assets/aura/utils"
"github.com/noble-assets/aura/utils/mocks"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/utils"
"github.com/ondoprotocol/usdy-noble/utils/mocks"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
sdkerrors "cosmossdk.io/errors"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

var _ types.MsgServer = &msgServer{}
Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/msg_server_blocklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
)

var _ blocklist.MsgServer = &blocklistMsgServer{}
Expand Down
8 changes: 4 additions & 4 deletions x/aura/keeper/msg_server_blocklist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/utils"
"github.com/noble-assets/aura/utils/mocks"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/utils"
"github.com/ondoprotocol/usdy-noble/utils/mocks"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions x/aura/keeper/msg_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"testing"

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/utils"
"github.com/noble-assets/aura/utils/mocks"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/utils"
"github.com/ondoprotocol/usdy-noble/utils/mocks"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/query_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/errors"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

var _ types.QueryServer = &queryServer{}
Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/query_server_blocklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
errorstypes "github.com/cosmos/cosmos-sdk/types/errors"
"github.com/cosmos/cosmos-sdk/types/query"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
)

var _ blocklist.QueryServer = &blocklistQueryServer{}
Expand Down
8 changes: 4 additions & 4 deletions x/aura/keeper/query_server_blocklist_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/errors"
"github.com/noble-assets/aura/utils"
"github.com/noble-assets/aura/utils/mocks"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types/blocklist"
"github.com/ondoprotocol/usdy-noble/utils"
"github.com/ondoprotocol/usdy-noble/utils/mocks"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types/blocklist"
"github.com/stretchr/testify/require"
)

Expand Down
8 changes: 4 additions & 4 deletions x/aura/keeper/query_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/errors"
"github.com/noble-assets/aura/utils"
"github.com/noble-assets/aura/utils/mocks"
"github.com/noble-assets/aura/x/aura/keeper"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/utils"
"github.com/ondoprotocol/usdy-noble/utils/mocks"
"github.com/ondoprotocol/usdy-noble/x/aura/keeper"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion x/aura/keeper/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package keeper
import (
"github.com/cosmos/cosmos-sdk/store/prefix"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/noble-assets/aura/x/aura/types"
"github.com/ondoprotocol/usdy-noble/x/aura/types"
)

//
Expand Down
Loading