From 5b96fe6d7cb16343c1e1cc6c345d937b6afbc5b1 Mon Sep 17 00:00:00 2001 From: charmful0x Date: Thu, 24 Oct 2024 12:20:26 +0200 Subject: [PATCH 1/2] feat: migrate to alphanet v2 --- networks/metis.json | 4 ++-- src/utils/transaction.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/networks/metis.json b/networks/metis.json index b5d6484..94ae467 100644 --- a/networks/metis.json +++ b/networks/metis.json @@ -6,7 +6,7 @@ "wvm_rpc": "https://testnet-rpc.wvm.dev", "block_time": 9.0, "start_block": 18574702, - "archiver_address": "0x197f818c1313DC58b32D88078ecdfB40EA822614", + "archiver_address": "0xd730fF10Ab359Fc4C0853DF9d108b7E646e645f4", "backfill_address": "0x123463a4B065722E99115D6c222f267d9cABb524", - "archive_pool_address": "0xa2A0D977847805fE224B789D8C4d3D711ab251e7" + "archive_pool_address": "0x0000000000000000000000000000000000000000" } \ No newline at end of file diff --git a/src/utils/transaction.rs b/src/utils/transaction.rs index d5c629c..9046c9f 100644 --- a/src/utils/transaction.rs +++ b/src/utils/transaction.rs @@ -72,8 +72,8 @@ pub async fn send_transaction( "\nArchiving block data from archiver: {} to archive pool: {}", address_from, address_to ); - // 7wei equivalent to 0.000000007Gwei - let gas_price = U256::from(7); + // 2.14 Gwei + let gas_price = U256::from(2_140_000_000); let tx = TransactionRequest::new() .to(address_to.clone()) .value(U256::from(utils::parse_ether(0)?)) From b010fc058e8cf2f53ba2ec78f18528d89b1ea3fc Mon Sep 17 00:00:00 2001 From: charmful0x Date: Thu, 24 Oct 2024 16:06:47 +0200 Subject: [PATCH 2/2] chore: update metis start_block --- networks/metis.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/networks/metis.json b/networks/metis.json index 94ae467..c2f823b 100644 --- a/networks/metis.json +++ b/networks/metis.json @@ -5,7 +5,7 @@ "network_rpc": "https://andromeda.metis.io/?owner=1088", "wvm_rpc": "https://testnet-rpc.wvm.dev", "block_time": 9.0, - "start_block": 18574702, + "start_block": 18792105, "archiver_address": "0xd730fF10Ab359Fc4C0853DF9d108b7E646e645f4", "backfill_address": "0x123463a4B065722E99115D6c222f267d9cABb524", "archive_pool_address": "0x0000000000000000000000000000000000000000"