Skip to content

Commit 6b0d393

Browse files
authored
Merge pull request #110 from movementlabsxyz/andygolay/remove-initiate-hex-complete
Fix: remove hex conversion from initiator in complete bridge transfer, refactor to one module per file
2 parents d46951a + 74a3768 commit 6b0d393

File tree

18 files changed

+2366
-4492
lines changed

18 files changed

+2366
-4492
lines changed

Cargo.lock

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -550,10 +550,10 @@ dunce = "1.0.4"
550550
ed25519-dalek = { version = "1.0.1", features = ["std", "serde"] }
551551
ed25519-dalek-bip32 = "0.2.0"
552552
either = "1.6.1"
553+
ethabi = "18.0.0"
553554
enum_dispatch = "0.3.12"
554555
env_logger = "0.10.0"
555556
erased-serde = "0.3.13"
556-
ethabi = "18.0.0"
557557
ethnum = "1.5.0"
558558
event-listener = "2.5.3"
559559
evm = { version = "0.33.1", features = ["tracing"] }

aptos-move/e2e-move-tests/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ aptos-types = { workspace = true, features = ["testing"] }
2626
aptos-vm = { workspace = true, features = ["testing"] }
2727
bcs = { workspace = true }
2828
claims = { workspace = true }
29+
ethabi = { workspace = true }
2930
hex = { workspace = true }
3031
move-binary-format = { workspace = true }
3132
move-command-line-common = { workspace = true }
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
script {
22
use aptos_framework::aptos_governance;
33
use aptos_framework::transaction_fee;
4-
use aptos_framework::native_bridge_core;
4+
use aptos_framework::native_bridge;
55

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

10-
native_bridge_core::store_aptos_coin_mint_cap(&framework_signer, mint);
11-
native_bridge_core::store_aptos_coin_burn_cap(&framework_signer, burn);
10+
native_bridge::store_aptos_coin_mint_cap(&framework_signer, mint);
11+
native_bridge::store_aptos_coin_burn_cap(&framework_signer, burn);
1212
}
1313
}
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
script {
2-
use aptos_framework::aptos_governance;
3-
use aptos_framework::atomic_bridge_configuration;
2+
// use aptos_framework::aptos_governance;
3+
// use aptos_framework::atomic_bridge_configuration;
44

55
fun main(core_resources: &signer, new_operator: address) {
6-
let framework_signer = aptos_governance::get_signer_testnet_only(core_resources, @aptos_framework);
7-
atomic_bridge_configuration::update_bridge_operator(&framework_signer, new_operator);
6+
// let framework_signer = aptos_governance::get_signer_testnet_only(core_resources, @aptos_framework);
7+
// atomic_bridge_configuration::update_bridge_operator(&framework_signer, new_operator);
88
}
99
}

0 commit comments

Comments
 (0)