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

Ethereum bridge VP and e2e test clean up #796

Merged
merged 7 commits into from
Apr 13, 2023

Conversation

james-chf
Copy link
Contributor

@james-chf james-chf commented Nov 16, 2022

Closes #668

This PR cleans up some stale code relating to the Ethereum bridge in main, and tidies up an e2e test. Adapted from #323.

@james-chf james-chf linked an issue Nov 16, 2022 that may be closed by this pull request
@james-chf james-chf force-pushed the james/mainline/ethbridge-e2e-cleanup branch from 3708b3f to eb5e239 Compare November 24, 2022 18:31
@james-chf
Copy link
Contributor Author

pls update wasm

@james-chf james-chf force-pushed the james/mainline/ethbridge-e2e-cleanup branch from 92ffdcb to ac80c12 Compare November 25, 2022 10:27
@james-chf james-chf marked this pull request as ready for review November 25, 2022 11:56
@james-chf james-chf marked this pull request as draft November 28, 2022 13:15
@james-chf james-chf marked this pull request as ready for review November 28, 2022 13:23
@james-chf james-chf marked this pull request as draft December 1, 2022 18:46
@james-chf james-chf force-pushed the james/mainline/ethbridge-e2e-cleanup branch from 57a18e1 to f165cf3 Compare December 1, 2022 18:49
@james-chf james-chf marked this pull request as ready for review December 6, 2022 09:54
@james-chf james-chf marked this pull request as draft January 3, 2023 16:24
@james-chf james-chf force-pushed the james/mainline/ethbridge-e2e-cleanup branch from f165cf3 to 8efb474 Compare January 3, 2023 16:24
@james-chf james-chf marked this pull request as ready for review January 3, 2023 16:24
@cwgoes cwgoes added this to the 0.14 milestone Jan 16, 2023
@james-chf james-chf requested review from sug0 and batconjurer February 7, 2023 15:13
/// # Examples
///
/// ```
/// let storage_key = storage_key("queue");
/// assert_eq!(storage_key, "#atest1v9hx7w36g42ysgzzwf5kgem9ypqkgerjv4ehxgpqyqszqgpqyqszqgpqyqszqgpqyqszqgpq8f99ew/queue");
/// ```
fn storage_key(path: &str) -> String {
format!("#{ETH_BRIDGE_ADDRESS}/{}", path)
format!("#{}/{}", eth_bridge::vp::ADDRESS, path)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the same as namada_core::ledger::eth_bridge::ADDRESS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so but namada_core::ledger::eth_bridge::ADDRESS isn't present in this PR. This PR is a rework of a small cleanup PR (#323) which never got merged

@sug0 sug0 self-requested a review February 8, 2023 10:48
@tzemanovic tzemanovic modified the milestones: 0.14, 0.15 Feb 8, 2023
@tzemanovic
Copy link
Member

the tx data passed to the tx_write needs to be updated for #894

tzemanovic added a commit that referenced this pull request Mar 31, 2023
* james/mainline/ethbridge-e2e-cleanup:
  Add changelog
  Add comment for the test
  Simplify test and remove references to queue key
  Remove references to anoman/anomac
  Remove no longer used eth_bridge::storage module
  Rename test to unauthorized_tx_cannot_write_storage
  Don't use duplicate ETH_BRIDGE_ADDRESS
@tzemanovic tzemanovic mentioned this pull request Mar 31, 2023
@tzemanovic
Copy link
Member

the tx data passed to the tx_write needs to be updated for #894

it can be resolved on merge like this: a7f8231

@juped juped merged commit 109f6da into main Apr 13, 2023
@juped juped deleted the james/mainline/ethbridge-e2e-cleanup branch April 13, 2023 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix up eth_bridge_tests::everything e2e test
6 participants