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

Add integration test for testing client recovery #176

Merged
merged 149 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
6b93844
Implementing `deliver` method for client recovery
seanchen1991 Mar 26, 2024
12b8715
Implement `deliver` method
seanchen1991 Mar 26, 2024
95a9156
Add todo comment
seanchen1991 Mar 27, 2024
b4896bc
Fix merge conflicts
seanchen1991 Apr 3, 2024
ca73d99
Implement RecoverCmd
seanchen1991 Apr 9, 2024
b9d3b01
Making progress on `submit_recovery_proposal`
seanchen1991 Apr 12, 2024
8363c13
Progress on client recovery testing functionality
seanchen1991 Apr 17, 2024
bea90ef
Print tx::send_tx error
seanchen1991 Apr 17, 2024
b7956b2
Fix dependency issues
seanchen1991 Apr 17, 2024
a47f3de
Stub out `recover-client.sh`
seanchen1991 Apr 18, 2024
92ca564
Remove `global = true` from RecoverCmd
seanchen1991 Apr 18, 2024
685f7af
First iteration of recover-client.sh
seanchen1991 Apr 18, 2024
b027452
Remove unused error variants
seanchen1991 Apr 18, 2024
def2ee4
Remove unneeded dependency
seanchen1991 Apr 18, 2024
895dffa
Fix merge conflicts
seanchen1991 Apr 18, 2024
eaafa90
Fix merge conflicts
seanchen1991 Apr 18, 2024
1fa6026
Remove extraneous `use`
seanchen1991 Apr 18, 2024
8ba7aa3
Add some echo statements
seanchen1991 Apr 18, 2024
0d0a14d
Add recover-client test to Makefile
seanchen1991 Apr 18, 2024
981d54e
Edit Makefile
seanchen1991 Apr 18, 2024
e8ecdd8
Change order of tests around
seanchen1991 Apr 18, 2024
19d8887
Fix typo in makefile
seanchen1991 Apr 18, 2024
3101a85
Use default hermes config file in recover-client.sh
seanchen1991 Apr 19, 2024
e04dd4c
Update basecoin dependency revs
seanchen1991 Apr 19, 2024
80ccc0d
Revert create client commands to use recovery config
seanchen1991 Apr 19, 2024
45bae32
Make changes to integration.yml
seanchen1991 Apr 19, 2024
a1f1726
Make changes to integration.yml
seanchen1991 Apr 19, 2024
374849f
Point cargo install command to basecoin directory
seanchen1991 Apr 19, 2024
8c8b5ae
Fix basecoin validation command
seanchen1991 Apr 19, 2024
ed68437
Tweak cargo install path
seanchen1991 Apr 19, 2024
41f8ecb
Tweak cargo install path
seanchen1991 Apr 19, 2024
9c479ed
Tweak cargo install path
seanchen1991 Apr 19, 2024
4832611
don't move basecoin dir
rnbguy Apr 19, 2024
03ba948
compile basecoin after rust toolchain setup
rnbguy Apr 19, 2024
1206bba
Change order that tests are run in
seanchen1991 Apr 22, 2024
d90c60f
Fix the grpc URL when querying for account
seanchen1991 Apr 22, 2024
c252ac2
Try removing upgrade-client test from integration test run
seanchen1991 Apr 22, 2024
fafb100
Try removing upgrade-client test from integration test run
seanchen1991 Apr 22, 2024
0e92661
Add upgrade client test back in
seanchen1991 Apr 22, 2024
6dd20ab
recover correct expired client
rnbguy Apr 23, 2024
8688b4f
change test order
rnbguy Apr 23, 2024
61e3726
shorten trusting period
rnbguy Apr 23, 2024
55d6fa9
run token-transfer after upgrade-client
rnbguy Apr 23, 2024
ab37c00
exit on error
rnbguy Apr 23, 2024
3c263a8
use genesis sub-cmd
rnbguy Apr 23, 2024
c166baf
do not pipe output to /dev/null
rnbguy Apr 23, 2024
9e6c33d
add minimum-gas-price arg
rnbguy Apr 23, 2024
d498368
one-chain to one-chain.sh
rnbguy Apr 23, 2024
8762b97
impl get_syncing
rnbguy Apr 23, 2024
247c543
inc gas_mul
rnbguy Apr 23, 2024
8d4fa7c
use workflow concurrency
rnbguy Apr 23, 2024
e35bfe8
use actions-rust-lang
rnbguy Apr 23, 2024
8d8e8d7
print logs
rnbguy Apr 23, 2024
fcfa01a
Implementing `deliver` method for client recovery
seanchen1991 Mar 26, 2024
b0cb259
Implement `deliver` method
seanchen1991 Mar 26, 2024
bc0e742
Add todo comment
seanchen1991 Mar 27, 2024
4f368d2
Implement RecoverCmd
seanchen1991 Apr 9, 2024
52a64a6
Making progress on `submit_recovery_proposal`
seanchen1991 Apr 12, 2024
f649076
Progress on client recovery testing functionality
seanchen1991 Apr 17, 2024
0b0ffc6
Print tx::send_tx error
seanchen1991 Apr 17, 2024
a758e40
Fix dependency issues
seanchen1991 Apr 17, 2024
0071b2e
Stub out `recover-client.sh`
seanchen1991 Apr 18, 2024
80940e3
Remove `global = true` from RecoverCmd
seanchen1991 Apr 18, 2024
8ac5358
Remove unused error variants
seanchen1991 Apr 18, 2024
2d6398a
Remove unneeded dependency
seanchen1991 Apr 18, 2024
ebe0c50
Fix merge conflicts
seanchen1991 Apr 18, 2024
6f30fc6
Remove extraneous `use`
seanchen1991 Apr 18, 2024
99cf773
Add recover-client test to Makefile
seanchen1991 Apr 18, 2024
8ca9f4d
Edit Makefile
seanchen1991 Apr 18, 2024
28dc9ed
Change order of tests around
seanchen1991 Apr 18, 2024
e5108e6
Fix typo in makefile
seanchen1991 Apr 18, 2024
a5f458d
Use default hermes config file in recover-client.sh
seanchen1991 Apr 19, 2024
879ba62
Update basecoin dependency revs
seanchen1991 Apr 19, 2024
dc61b8f
Revert create client commands to use recovery config
seanchen1991 Apr 19, 2024
faf6354
Make changes to integration.yml
seanchen1991 Apr 19, 2024
e980d3c
Make changes to integration.yml
seanchen1991 Apr 19, 2024
bf755f1
Point cargo install command to basecoin directory
seanchen1991 Apr 19, 2024
7ba346a
Fix basecoin validation command
seanchen1991 Apr 19, 2024
d209a28
Tweak cargo install path
seanchen1991 Apr 19, 2024
c126264
Tweak cargo install path
seanchen1991 Apr 19, 2024
73c4184
Tweak cargo install path
seanchen1991 Apr 19, 2024
9009a80
don't move basecoin dir
rnbguy Apr 19, 2024
5212223
compile basecoin after rust toolchain setup
rnbguy Apr 19, 2024
999b14e
Change order that tests are run in
seanchen1991 Apr 22, 2024
a03aff8
Fix the grpc URL when querying for account
seanchen1991 Apr 22, 2024
3482760
Try removing upgrade-client test from integration test run
seanchen1991 Apr 22, 2024
d830a89
Try removing upgrade-client test from integration test run
seanchen1991 Apr 22, 2024
647b8bb
Add upgrade client test back in
seanchen1991 Apr 22, 2024
d864801
recover correct expired client
rnbguy Apr 23, 2024
0f65917
change test order
rnbguy Apr 23, 2024
d053798
shorten trusting period
rnbguy Apr 23, 2024
fc2a933
Fix merge conflicts
seanchen1991 Apr 23, 2024
1accfa3
Add missing hermes-config-recovery file
seanchen1991 Apr 23, 2024
b114544
Merge branch 'main' of https://github.com/informalsystems/basecoin-rs…
seanchen1991 Apr 24, 2024
3b8272f
reorder e2e tests
rnbguy Apr 24, 2024
1233dc7
Merge branch 'sean/client-recovery' of https://github.com/informalsys…
seanchen1991 Apr 24, 2024
2f26f16
Remove basecoin installation from integration.yml
seanchen1991 Apr 24, 2024
33d24fe
use precompiled basecoin binary
rnbguy Apr 24, 2024
ef936fa
Call basecoin binary correctly
seanchen1991 Apr 24, 2024
570f9c5
Merge branch 'main' into sean/client-recovery
rnbguy Apr 24, 2024
7e6e86e
validate client status
rnbguy Apr 25, 2024
5b4d790
reuse hermes config via tomlq
rnbguy Apr 25, 2024
38e5d4f
update client status checks
rnbguy Apr 25, 2024
b9cae7b
update test comment and info
rnbguy Apr 25, 2024
73559f9
update sleep time
rnbguy Apr 25, 2024
48b497c
update tomlq usage
rnbguy Apr 25, 2024
4493421
use cargo patch table
rnbguy Apr 25, 2024
9b554c7
update cargo lockfile
rnbguy Apr 25, 2024
81c1b8c
submit gov proposal
rnbguy Apr 25, 2024
274cbfc
comment about error
rnbguy Apr 25, 2024
0f39464
update substitute client
rnbguy Apr 25, 2024
83df993
print client states
rnbguy Apr 25, 2024
a3ff053
Fix merge conflicts
seanchen1991 Apr 25, 2024
6f67c5e
Update ibc dependency rev
seanchen1991 Apr 25, 2024
3e21e0c
Add `Convertible` bound to IbcContext impl
seanchen1991 Apr 25, 2024
d67df1a
update deps
rnbguy Apr 26, 2024
dd1cce5
update cargo lockfile
rnbguy Apr 26, 2024
e3969c8
cargo format
rnbguy Apr 26, 2024
539ecfc
cleanup client recovery test script
rnbguy Apr 26, 2024
7df3669
comment on client recovery script
rnbguy Apr 26, 2024
bb073ec
add taplo config
rnbguy Apr 26, 2024
d031c25
format toml
rnbguy Apr 26, 2024
3f768e2
ci check for toml format
rnbguy Apr 26, 2024
33c0eee
rm exec perm
rnbguy Apr 26, 2024
599fd87
refactor tx submission
rnbguy Apr 26, 2024
db928c1
derive path and seed file as cli args
rnbguy Apr 26, 2024
ac78535
require seed_file
rnbguy Apr 26, 2024
a1a90bb
use .git url
rnbguy Apr 26, 2024
1e07a70
separate tower-abci dep
rnbguy Apr 26, 2024
3ce4d31
nit on toml file
rnbguy Apr 26, 2024
53b3b94
add comment
rnbguy Apr 26, 2024
9c848dd
rm redundant trait bound
rnbguy Apr 26, 2024
e5566cb
impl Coin::from_str
rnbguy Apr 26, 2024
1df3d16
add more arguments to tx command
rnbguy Apr 26, 2024
04699be
use cli args
rnbguy Apr 26, 2024
e555934
rm redundant util funcs
rnbguy Apr 26, 2024
b48abf8
update cargo lockfile
rnbguy Apr 26, 2024
46b2213
default chain id
rnbguy Apr 26, 2024
f95b435
add memo cli arg
rnbguy Apr 26, 2024
b0ac4ec
nit
rnbguy Apr 26, 2024
7a7f55b
latest rev
rnbguy Apr 26, 2024
6ac934e
use AnyClientState
rnbguy Apr 26, 2024
6a3b8e0
update cargo lockfile
rnbguy Apr 26, 2024
c6ea1fd
Incorporate some PR feedback
seanchen1991 Apr 26, 2024
d87bbd2
Incorporate some PR feedback
seanchen1991 Apr 26, 2024
5749e90
Switch from using Message::encode to Message::encode_to_vec
seanchen1991 Apr 26, 2024
e13d5c6
Add comment about client recovery operation not returning an event
seanchen1991 Apr 26, 2024
0132731
Use shorted github rev link in comment
seanchen1991 Apr 26, 2024
550d90f
ibc-rs rev from main
rnbguy Apr 26, 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
10 changes: 10 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,13 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: doc

cargo-toml-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: baptiste0928/cargo-install@v3
with:
crate: taplo-cli
- run: taplo fmt --check
Loading
Loading