for internal testnet deployment, record the desired deployment version
as an action variable that can be used by the checkout action instead of
using manual pull & checkout commands
* bump internal-testnet VERSION and genesis file for wbtc config
* Fix EOF on validate genesis by add missing modules; Fix validation by fixing gov params; update total escrow to default
* bump version for latest genesis
---------
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
## What Changes
- add a native `wbtc` contract to internal-testnet for testing
- seed the dev wallet and some e2e test wallets with funds for this new contract
the release tag CI is run when semantic versioned tags are pushed.
it is presumed that the commit and/or PR to the release branch being
tagged has already passed the lints.
this gets around Github Actions CI running check-proto-breaking-remote
which compares the pushed commit against _master_ (not the previous release)
previously, v0.47.10-kava.2 used iavl v1, but this version will be
retracted because that branch & tag should only be used for iavl v0.
this sdk version is the same as v0.47.10-kava.2, but also includes a bug
fix to the initial iavl version used when adding new modules
see https://github.com/Kava-Labs/cosmos-sdk/pull/545
* port iavlviewer to kava v0.26.x to debug app hash
* add hash subcommand to iavlviewer
additionally, use better error handling
* update changelog
* separate iavlviewer command into subcommands
---------
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
Implement GetBalance for extended balances which passes through to `x/bank` for non-extended denoms. This diverges from `x/evmutil` behavior which will panic on non-"akava" calls.
Add bank / account keeper mocks for testing, with mockery config for [mockery package setup](https://vektra.github.io/mockery/latest/migrating_to_packages/)
- Validate total fractional amounts in genesis type
- Validate against fractional balances such that `(sum(balances) + remainder) % conversionFactor == 0`
- Add new utility type `SplitBalance` for splitting up full balances into each
* downgrade to ibc v7 for ibc tests
* add conformance test (does not pass consistently)
* limit number of nodes for more consistent passing
* update to upstream v7 branch of interchaintest
also, remove unnecessary go.mod replace statements
* better names for int pointers
* setup interchaintest IBC test
* e2e test of packet forwarding middleware
* rename interchain -> e2e-ibc & add make cmd
* add CI step that runs e2e-ibc tests
* use current branch for docker image in e2e-ibc
* set CDP block interval to 100 to only run interest synchronization
for risky cdps every 100 blocks instead of every block
* refactor and use constant for setting to improve clarity; update
block interval to 50 instead of 100. This will decrease risk by
running around every 6 minutes instead of 12 mintues for current
mainnet block times.
* revert back to iavl v1 to avoid hash changes on new modules like
we are seeing on the v0.24.x to v0.25.x upgrade block. Also, add
replace statements for exp and rapid to match upstream cosmos-sdk
* fix sharding prune store logging and error return.
* add comment to clarify WithKeyTable usage