Skip to content

Commit

Permalink
Merge branch 'tiago/amounts+ethbridge-forreal-forreal' (#1680)
Browse files Browse the repository at this point in the history
* tiago/amounts+ethbridge-forreal-forreal: (2868 commits)
  Fix remaining unit tests
  Replace nam() with native token addr in storage
  Use generated fns to define Eth bridge param predicates
  Export generated macro fns
  Move Ethereum param keys
  Misc unit test fixes
  Fix StorageKeys derives
  Generate key helper fns
  Fix tx expiration test
  Fix eth protocol tx serialization
  Make fmt
  Replace KeySeg impl for Epoch with the one from main
  Compilation fixes
  Erase Eth RPC address from SDK types
  Re-order instant query since a tokio watch chan borrow can block
  User shutdown is not a fatal error
  Implement RpcClient with ethers
  Start removing web30 dep from apps
  Remove web30 deps from Cargo files
  Update wasm Cargo lock files
  Remove comments
  Fix CLI args
  Purge weird test cfg-flags for the Ethereum oracle
  Add generic geth rpc client for the eth oracle
  Remove needless lifetimes
  Remove needless heap alloc
  Remove ShouldRelay tokio dep
  Remove tokio's LocalSet dep in shared
  Refactor relayer to use generic ethers middleware
  Remove web30 dep on shared
  Refactor wasm compilation cache sleep to use ExponentialBackoff
  Allow ExponentialBackoff to capture env
  Add map to sleep strategy
  Remove async-std from shared
  Remove timeout defaults
  Remove sketchy code from timeouts
  Refactor wait_until_node_is_synched
  Refactor fixes
  Refactor sleep strategy to allow custom states
  Refactor SleepStrategy to include retry method
  Add error bounds to client
  Remove unused query_tx_status in apps
  Refactor query_tx_status
  Add new Halt method
  Do not ignore control flows in the CLI
  Fix tests ending prematurely
  Replace test oracle command sender
  Do not block on signal receiving
  Import build devnet script from main
  Fix `make build-debug`
  Update Cargo lock files in wasms
  Fix compiler errors in tests
  Fix CLI
  Remove ctx from some sdk args conversions
  Take a Tendermint address from a mem slot
  More fixes :|
  Fixes
  Fixes to `shared`
  Make shutdown signal a concrete type
  More silly shit
  Fixing a bunch of silly errors
  Use new control flow abstractions
  Add new control flow abstractions
  Continue to SDK-ize former CLI commands
  Update Cargo lock file
  WIP: Removing tokio calls from shared
  Rename module from timeouts to time
  Implement sleep method
  Platform specific timeouts
  Move control flow stuff to shared
  WIP: Platform specific shutdown signal
  SDK-ize commands from `apps` to `shared`
  Remove db delete value
  Remove submit valset upd cmd
  Remove extra CLI flag
  Run make fmt
  Remove duped rand dependency
  Update Cargo lock file
  Make timeouts mechanism compatible with the browser wasm engine
  Remove tokio as a dep from shared
  Move timeouts to shared
  Update Cargo lock files
  Fix e2e test
  RocksDB fixes
  Fix InitChain
  Import fixes
  Hash fixes
  Add new Hash methods
  Add missing Eth keys to IBC test
  IBC event fixes
  Commit block fixes on tests
  Remove unused import
  Debug impls for storage hashers
  Add missing merkle tree import
  Run make fmt
  Remove ABCI++ deps
  Fix pattern matching in unit tests
  Fix make file target
  Fix wrapper tx timestamp checks
  Fix test_prepare_proposal_vext_insufficient_voting_power
  ...
  • Loading branch information
brentstone committed Jul 6, 2023
2 parents ecd4c5e + 3e11957 commit e89c607
Show file tree
Hide file tree
Showing 189 changed files with 37,724 additions and 3,561 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Fixed the PrefixIter order of iteration in the write-
log to always match the iteration order in the storage.
([#1141](https://github.com/anoma/namada/pull/1141))
14 changes: 14 additions & 0 deletions .changelog/v0.6.0/improvements/1088-updating-to-latest-abcipp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- Ledger: Updated the version of Tendermint used for ABCI++ ([#1088](https://github.com/anoma/anoma/pull/1088))
- Add full support for ProcessProposal and FinalizeBlock
- Updated the shims
- Updated `tendermint-rs`, `ibc-rs`, and `tower-abci` deps
- Updated the proto definitions
- Added Tendermint's new method of a BFT timestamping
- Updated the format of Tendermint's new config
- Fixed booting up the tendermint node in the ledger with correct settings
- Refactored storage to account for the fact that tendermint no longer passes in block headers
- Client: Configured Tendermints new event log and JSON RPC API for events querying ([#1088](https://github.com/anoma/anoma/pull/1088))
- Added necessary config parameters to our tendermint node's configuration
- Wrote a jsonrpc client for querying tendermint's event logs
- Refactored how txs are submitted in the client when the `ABCI-plus-plus` feature is
set to use jsonrpc calls instead of websockets.
1 change: 1 addition & 0 deletions .github/workflows/scripts/e2e.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"e2e::eth_bridge_tests::everything": 4,
"e2e::ibc_tests::run_ledger_ibc": 155,
"e2e::eth_bridge_tests::test_add_to_bridge_pool": 10,
"e2e::ledger_tests::double_signing_gets_slashed": 12,
"e2e::ledger_tests::invalid_transactions": 13,
"e2e::ledger_tests::ledger_many_txs_in_a_block": 55,
Expand Down
Loading

0 comments on commit e89c607

Please sign in to comment.