Skip to content

Commit

Permalink
Merge pull request #110 from movementlabsxyz/andygolay/remove-initiat…
Browse files Browse the repository at this point in the history
…e-hex-complete

Fix: remove hex conversion from initiator in complete bridge transfer, refactor to one module per file
  • Loading branch information
l-monninger authored Dec 11, 2024
2 parents d46951a + 74a3768 commit 6b0d393
Show file tree
Hide file tree
Showing 18 changed files with 2,366 additions and 4,492 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -550,10 +550,10 @@ dunce = "1.0.4"
ed25519-dalek = { version = "1.0.1", features = ["std", "serde"] }
ed25519-dalek-bip32 = "0.2.0"
either = "1.6.1"
ethabi = "18.0.0"
enum_dispatch = "0.3.12"
env_logger = "0.10.0"
erased-serde = "0.3.13"
ethabi = "18.0.0"
ethnum = "1.5.0"
event-listener = "2.5.3"
evm = { version = "0.33.1", features = ["tracing"] }
Expand Down
1 change: 1 addition & 0 deletions aptos-move/e2e-move-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ aptos-types = { workspace = true, features = ["testing"] }
aptos-vm = { workspace = true, features = ["testing"] }
bcs = { workspace = true }
claims = { workspace = true }
ethabi = { workspace = true }
hex = { workspace = true }
move-binary-format = { workspace = true }
move-command-line-common = { workspace = true }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
script {
use aptos_framework::aptos_governance;
use aptos_framework::transaction_fee;
use aptos_framework::native_bridge_core;
use aptos_framework::native_bridge;

fun main(core_resources: &signer) {
let framework_signer = aptos_governance::get_signer_testnet_only(core_resources, @aptos_framework);
let (mint, burn) = transaction_fee::copy_capabilities_for_native_bridge(&framework_signer);

native_bridge_core::store_aptos_coin_mint_cap(&framework_signer, mint);
native_bridge_core::store_aptos_coin_burn_cap(&framework_signer, burn);
native_bridge::store_aptos_coin_mint_cap(&framework_signer, mint);
native_bridge::store_aptos_coin_burn_cap(&framework_signer, burn);
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
script {
use aptos_framework::aptos_governance;
use aptos_framework::atomic_bridge_configuration;
// use aptos_framework::aptos_governance;
// use aptos_framework::atomic_bridge_configuration;

fun main(core_resources: &signer, new_operator: address) {
let framework_signer = aptos_governance::get_signer_testnet_only(core_resources, @aptos_framework);
atomic_bridge_configuration::update_bridge_operator(&framework_signer, new_operator);
// let framework_signer = aptos_governance::get_signer_testnet_only(core_resources, @aptos_framework);
// atomic_bridge_configuration::update_bridge_operator(&framework_signer, new_operator);
}
}
Loading

0 comments on commit 6b0d393

Please sign in to comment.