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

[SPIKE: Will not be merged] Kava cosmos v50 test patched #2036

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
0c57ec6
wip: upgrade kava to sdk v0.50
boodyvo Oct 11, 2024
9965571
wip: upgrade kava to sdk v0.50
boodyvo Oct 11, 2024
7bf3bd4
wip: upgrade kava to sdk v0.50
boodyvo Oct 16, 2024
4e68e11
wip: upgrade kava to sdk v0.50
boodyvo Oct 16, 2024
5edaaab
wip: upgrade kava to sdk v0.50
boodyvo Oct 17, 2024
c86dd84
wip: test updates
boodyvo Oct 17, 2024
2540d18
wip: test updates
boodyvo Oct 17, 2024
2f4ec0a
wip: testing cdp
boodyvo Oct 18, 2024
df58f4f
wip: testing cdp
boodyvo Oct 18, 2024
9dbd8bd
wip: testing cdp
boodyvo Oct 18, 2024
9d86411
wip: testing
boodyvo Oct 19, 2024
7e43f2f
wip: testing
boodyvo Oct 19, 2024
05c6e53
wip: fixed test context
boodyvo Oct 21, 2024
3f125e4
wip: add some logging
boodyvo Oct 21, 2024
d0841da
wip: fixing modules
boodyvo Oct 22, 2024
fd550b4
wip: fixing modules
boodyvo Oct 22, 2024
99e1317
wip: debugging incentive test
boodyvo Oct 22, 2024
90dc903
wip: debugging incentive test
boodyvo Oct 22, 2024
20fc8df
wip: fix few tests
boodyvo Oct 22, 2024
bb5b41c
wip: fix few tests
boodyvo Oct 22, 2024
69c0300
wip: fix few tests
boodyvo Oct 22, 2024
f283376
wip: fix few tests
boodyvo Oct 22, 2024
98a3fdb
wip: fix few tests
boodyvo Oct 23, 2024
fec0ea2
wip: fix few tests
boodyvo Oct 23, 2024
149ef99
wip: fix few tests
boodyvo Oct 23, 2024
fec9d4b
wip: add upgrade handler
boodyvo Oct 23, 2024
0b25819
wip: add upgrade handler
boodyvo Oct 23, 2024
d03eb38
wip: internal debug
boodyvo Oct 23, 2024
db3ab21
wip: internal debug
boodyvo Oct 23, 2024
0180a7e
wip: internal debug
boodyvo Oct 23, 2024
de2ca02
wip: internal debug
boodyvo Oct 23, 2024
2457513
wip: internal debug
boodyvo Oct 23, 2024
9373135
wip: internal debug
boodyvo Oct 23, 2024
4b42fcc
wip: internal debug
boodyvo Oct 23, 2024
df5d106
wip: internal debug
boodyvo Oct 23, 2024
58b02a6
wip: internal debug
boodyvo Oct 23, 2024
033042b
wip: internal debug
boodyvo Oct 23, 2024
e98d411
wip: internal debug
boodyvo Oct 24, 2024
9e498b4
wip: internal debug
boodyvo Oct 24, 2024
fe9174d
wip: internal debug
boodyvo Oct 24, 2024
881b298
wip: internal debug
boodyvo Oct 24, 2024
94e7769
wip: internal debug
boodyvo Oct 24, 2024
ea87135
wip: internal debug
boodyvo Oct 24, 2024
1b6a724
wip: internal debug
boodyvo Oct 24, 2024
d370d23
wip: comment parts trying to run app
boodyvo Oct 24, 2024
d217823
wip: change cmd processing
boodyvo Oct 24, 2024
2688ac0
kava-cosmos-v50-test-patched
boodyvo Oct 24, 2024
418c68d
kava-cosmos-v50-test-patched
boodyvo Oct 25, 2024
648b247
wip: updated the server and cmd to run in kava
boodyvo Oct 25, 2024
0d3d058
wip: updated mod
boodyvo Oct 25, 2024
141188b
wip: add debug print
boodyvo Oct 25, 2024
57b1607
wip: add debug print
boodyvo Oct 25, 2024
6a613bd
wip: update tests and initialization
boodyvo Oct 28, 2024
bd1e31f
wip: update tests and initialization
boodyvo Oct 28, 2024
7ee4ec3
wip: update tests and initialization
boodyvo Oct 28, 2024
08f411f
wip: update tests and initialization
boodyvo Oct 28, 2024
bba75ee
wip: update tests and initialization
boodyvo Oct 28, 2024
ce8ad6d
wip: remove extra logging
boodyvo Oct 28, 2024
efd0a53
wip: remove extra logging
boodyvo Oct 29, 2024
200097a
wip: add logging
boodyvo Oct 29, 2024
26017d4
wip: update signing
boodyvo Nov 1, 2024
f3401b1
wip: update e2e test for debugging
boodyvo Nov 4, 2024
1de642c
wip: update e2e test for debugging
boodyvo Nov 4, 2024
fbb35d9
wip: update e2e test for debugging
boodyvo Nov 4, 2024
c496494
wip: update e2e test for debugging
boodyvo Nov 5, 2024
78d7ba7
wip: update e2e test for debugging
boodyvo Nov 5, 2024
fedeac5
wip: add cdp signers
boodyvo Nov 5, 2024
540f4ae
wip: add debug for handler
boodyvo Nov 7, 2024
90af7a6
wip: removed one debug log
boodyvo Nov 7, 2024
7d2925a
wip: removed one debug log
boodyvo Nov 8, 2024
17f7b2e
wip: removed one debug log
boodyvo Nov 8, 2024
96919dd
wip: removed one debug log
boodyvo Nov 12, 2024
a77e61d
wip: removed one debug log
boodyvo Nov 12, 2024
0b089cd
wip: add logging
boodyvo Nov 13, 2024
24e03bc
wip: add logging
boodyvo Nov 13, 2024
74cdfbd
wip: add logging
boodyvo Nov 13, 2024
59a239a
wip: add logging
boodyvo Nov 13, 2024
5526bcf
wip: add logging
boodyvo Nov 13, 2024
a8be83e
wip: add logging
boodyvo Nov 13, 2024
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
Prev Previous commit
Next Next commit
wip: updated mod
boodyvo committed Oct 25, 2024
commit 0d3d05804e1582f44fbed135be827f49b894e75f
4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -283,10 +283,6 @@ replace (
// Tracking kava-labs/etheremint master branch
// TODO: Tag before release
//github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.21.1-0.20240802224012-586960857184
// first PR
//github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.0.0-20241017145243-770ae9c06817
// second PR
//github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.0.0-20241024201621-2269119c2171
github.com/evmos/ethermint => github.com/kava-labs/ethermint v0.0.0-20241025031311-25d6caa0aef9
//github.com/evmos/ethermint => ../ethermint
// See https://github.com/cosmos/cosmos-sdk/pull/10401, https://github.com/cosmos/cosmos-sdk/commit/0592ba6158cd0bf49d894be1cef4faeec59e8320

Unchanged files with check annotations Beta

// FilterTxEventsByType returns a slice of events that match the given type
// from any and all txs in a slice of ResponseDeliverTx.
func FilterTxEventsByType(txs []*abci.ResponseDeliverTx, eventType string) []abci.Event {

Check failure on line 22 in tests/util/events.go

GitHub Actions / lint / golangci-lint

undefined: abci.ResponseDeliverTx

Check failure on line 22 in tests/util/events.go

GitHub Actions / lint / golangci-lint

undefined: abci.ResponseDeliverTx
filteredEvents := []abci.Event{}
for _, tx := range txs {
}
// TEXTTUAL will use context for formatting the sign bytes, other just ignore context
signBytes, err := txConfig.SignModeHandler().GetSignBytes(context.Background(), signingv1beta1.SignMode(signing.SignMode_SIGN_MODE_DIRECT), signerData, txBuilder.GetTx())

Check failure on line 405 in tests/util/sdksigner.go

GitHub Actions / lint / golangci-lint

cannot use signerData (variable of type "github.com/cosmos/cosmos-sdk/x/auth/signing".SignerData) as "cosmossdk.io/x/tx/signing".SignerData value in argument to txConfig.SignModeHandler().GetSignBytes

Check failure on line 405 in tests/util/sdksigner.go

GitHub Actions / lint / golangci-lint

cannot use txBuilder.GetTx() (value of type "github.com/cosmos/cosmos-sdk/x/auth/signing".Tx) as "cosmossdk.io/x/tx/signing".TxData value in argument to txConfig.SignModeHandler().GetSignBytes (typecheck)

Check failure on line 405 in tests/util/sdksigner.go

GitHub Actions / lint / golangci-lint

cannot use signerData (variable of type "github.com/cosmos/cosmos-sdk/x/auth/signing".SignerData) as "cosmossdk.io/x/tx/signing".SignerData value in argument to txConfig.SignModeHandler().GetSignBytes

Check failure on line 405 in tests/util/sdksigner.go

GitHub Actions / lint / golangci-lint

cannot use txBuilder.GetTx() (value of type "github.com/cosmos/cosmos-sdk/x/auth/signing".Tx) as "cosmossdk.io/x/tx/signing".TxData value in argument to txConfig.SignModeHandler().GetSignBytes) (typecheck)
if err != nil {
return txBuilder.GetTx(), nil, err
}
emtypes "github.com/evmos/ethermint/types"
"github.com/kava-labs/kava/app"
"github.com/kava-labs/kava/tests/util"

Check failure on line 30 in tests/e2e/testutil/account.go

GitHub Actions / lint / golangci-lint

could not import github.com/kava-labs/kava/tests/util (-: # github.com/kava-labs/kava/tests/util
)
// SigningAccount wraps details about an account and its private keys.
// if we don't have a tx receipt within a given timeout, fail the request
a.l.Printf("awaiting evm tx receipt for tx %s\n", res.TxHash)
response.Receipt, response.Err = util.WaitForEvmTxReceipt(a.evmSigner.EvmClient, res.TxHash, 10*time.Second)

Check failure on line 202 in tests/e2e/testutil/account.go

GitHub Actions / lint / golangci-lint

response.Err undefined (type EvmTxResponse has no field or method Err) (typecheck)
return response
}
// It does not broadcast the signed data.
func (a *SigningAccount) SignRawEvmData(msg []byte) ([]byte, cryptotypes.PubKey, error) {
keyringSigner := emtests.NewSigner(a.evmPrivKey)
return keyringSigner.SignByAddress(a.SdkAddress, msg)

Check failure on line 211 in tests/e2e/testutil/account.go

GitHub Actions / lint / golangci-lint

not enough arguments in call to keyringSigner.SignByAddress
}
// NewFundedAccount creates a SigningAccount for a random account & funds the account from the whale.
}
res := a.SignAndBroadcastEvmTx(req)
return res, res.Err

Check failure on line 281 in tests/e2e/testutil/account.go

GitHub Actions / lint / golangci-lint

res.Err undefined (type EvmTxResponse has no field or method Err) (typecheck)
}