-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add crosschain and observer operations (#3207)
* add crosschain decoders * decoders test * add oeprations * add fungible deploy contracts * add fungible deploy contracts * add simulation for observer module * add comments for crosschain operations * add comments for observer and fungible operations * generate files * debug import export test * fix import export tests * fix import export tests * fix app determinism test * update codecov.yml * reduce weight for DeployedSystemContracts operation * add new function to generate eth address from provided randomness * Update x/fungible/simulation/decoders.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update testutil/sample/sample.go Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * add validations * add validations * add randmoness to tss * make requested changes 1 * update state.go file * update state.go file * change chains.IsEVMChain to chains.IsEthereumChain in deposit tests * add basic structure for outbound vote message * add randomised outbound message * add cointype randomisation to inbound message * add cointype gas * add cointype erc20 * add outbound tracker * improve outbound tracker nonce selection * remove block limit for outbound tracker * add operation remove outbound tracker * add operation whitelist erc20 * fix unit tests * fix unit tests * fix Abort CCTX test * add operation refund aborted cctx * add operation update rate limiter flags * add operation UpdateErc20PauseStatus * add additional checks to whitelist erc20 * add default gas prices to the state * add default gas prices to the state * update zeta accounting genesis * update operation whitelist erc20 to not try whitelisting duplicate assets * add check for aborted status when finalizing an outbound * add check for aborted status when finalizing an outbound * reduce errors for RefundAbortedCCTX * reduce errors for RefundAbortedCCTX * reafactor update TSS to use existing cctx * remove setting nonce to cctx twice * set observe count for even is observer set is empty * add updte keygen message * add update chain params * add SimulateMsgResetChainNonces * add more operations from observer module * add helper functions * format code * add additional check to voting messages to for existing ballots * add msg vote tss * add msg vote tss * remove isPending check for aborted cctx * fix unit tests * add comments to simulation_test.go * add comments and unit tests * add comments to operations * refactor based on comments * fix formating * improve formating for decoders.go * remove overflow check when not needed * resolve comments 2 * add protocol v2 * generate files 2 * reduce weight of message enable CCTX * add solana address from rand * make changes based on feedback * refacctor updateCrossChainState to updateCrosschainState * rename Maxed to MaxReached * change test names for tests under TestCoinType_SupportsRefund * rename functions updateState to extractState * rebase develop * revert format for makefile * generate files --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
- Loading branch information
1 parent
47c9444
commit 2edfa9c
Showing
66 changed files
with
3,841 additions
and
547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.