-
Notifications
You must be signed in to change notification settings - Fork 992
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
Bridge Pool CLI tests #865
Bridge Pool CLI tests #865
Conversation
…e/test-bridge-pool-cli
…thereum bridge pool
Co-authored-by: Tiago Carvalho <[email protected]>
Co-authored-by: Tiago Carvalho <[email protected]>
This reverts commit 0ac0bc1.
…enforced Ensure minimum confirmations are enforced for pending Ethereum events
Changed the bytes passed into merkle proof to be references
if pool_contents.is_empty() { | ||
println!("Bridge pool is empty."); | ||
} else { | ||
println!("Bridge pool contents: "); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
println!("Bridge pool contents: "); | |
print!("Bridge pool contents: "); |
nit: maybe this is the desired output here? Bridge pool contents: { ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This I'm not sure about until I see it on the screen. Will get back to it when I have time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It made the whole thing a json payload, which is what I really wanted anyway.
Co-authored-by: Tiago Carvalho <[email protected]>
Co-authored-by: Tiago Carvalho <[email protected]>
Co-authored-by: Tiago Carvalho <[email protected]>
Co-authored-by: Tiago Carvalho <[email protected]>
…/namada into bat/ethbridge/test-bridge-pool-cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just looked at eth_bridge_tests.rs
and client/eth_bridge_pool.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, formatting needs to be fixed for CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run make fmt
, otherwise lgtm!
Co-authored-by: James <[email protected]>
Co-authored-by: James <[email protected]>
Co-authored-by: James <[email protected]>
Adds E2E tests for the bridge pool cli. The test added checks that a transfer can be submitted to the pool and that when querying the pool, the submitted transfer is present.
Since the logic for signing bridge pool roots is not in place yet, a test for constructing proofs will be a later PR.