Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

Commit fa7c0a4

Browse files
authored
Merge pull request #15 from nervosnetwork/rc/v0.3.4
chore: update rosetta-cli-conf
2 parents 5852f8d + cc5e045 commit fa7c0a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rosetta-cli-conf/ckb-mainnet.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"results_output_file": "./mainnet_construction_result.json",
2424
"constructor_dsl_file": "ckb_mainnet.ros",
2525
"end_conditions": {
26-
"create_account": 10,
26+
"create_account": 2,
2727
"transfer": 2
2828
}
2929
},

rosetta-cli-conf/ckb_mainnet.ros

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ transfer(2){
5353
});
5454
available_amount = {{sender.balance.value}} - {{max_fee}};
5555
print_message({"available_amount":{{available_amount}}});
56-
recipient_amount = random_number({"minimum":"10000000000", "maximum":"20000000000"});
56+
recipient_amount = random_number({"minimum":"6100000000", "maximum":"7000000000"});
5757
print_message({"recipient_amount":{{recipient_amount}}});
5858
total_change_amount = {{sender.balance.value}} - {{recipient_amount}};
5959
change_amount = {{total_change_amount}} - {{max_fee}};
@@ -127,7 +127,7 @@ transfer(2){
127127
// Set the recipient_amount as some value <= sender.balance-max_fee
128128
max_fee = "1200";
129129
available_amount = {{sender.balance.value}} - {{max_fee}};
130-
recipient_amount = random_number({"minimum":"10000000000", "maximum":"20000000000"});
130+
recipient_amount = random_number({"minimum":"6100000000", "maximum":"7000000000"});
131131
print_message({"recipient_amount":{{recipient_amount}}});
132132
total_change_amount = {{sender.balance.value}} - {{recipient_amount}};
133133
print_message({"total_change_amount":{{total_change_amount}}});

0 commit comments

Comments
 (0)