Skip to content

Commit

Permalink
dotting i's
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Jan 12, 2024
1 parent 1704871 commit a166763
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ contract ERC20TokenSourceTest is NativeTokenBridgeTest {
);
}

function testZeroDestinationBlockChainID() public {
function testZeroDestinationBlockchainID() public {
vm.expectRevert(_formatERC20TokenSourceErrorMessage("zero destination blockchain ID"));

new ERC20TokenSource(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ contract NativeTokenDestinationTest is NativeTokenBridgeTest {
);
}

function testZeroSourceChainID() public {
function testZeroSourceBlockchainID() public {
vm.expectRevert(_formatNativeTokenDestinationErrorMessage("zero source blockchain ID"));

new NativeTokenDestination(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ contract NativeTokenSourceTest is NativeTokenBridgeTest {
);
}

function testZeroDestinationBlockChainID() public {
function testZeroDestinationBlockchainID() public {
vm.expectRevert(_formatNativeTokenSourceErrorMessage("zero destination blockchain ID"));

new NativeTokenSource(
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker/run_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ if [ ! -e $dir_prefix/NETWORK_RUNNING ]; then
subnet_c_blockchain_id=$(cat $HOME/.avalanche-cli/subnets/subnetc/sidecar.json | getJsonVal "['Networks']['Local Network']['BlockchainID']")
subnet_c_subnet_id=$(cat $HOME/.avalanche-cli/subnets/subnetc/sidecar.json | getJsonVal "['Networks']['Local Network']['SubnetID']")
c_chain_subnet_id=11111111111111111111111111111111LpoYY # hardcoded primary subnet ID
c_chain_blockchain_id=$(curl -X POST --data '{"jsonrpc": "2.0","method": "platform.getBlockchains","params": {},"id": 1}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/P | getJsonVal "['result']['blockchains']" | python3 docker/getBlockChainId.py C-Chain)
c_chain_blockchain_id=$(curl -X POST --data '{"jsonrpc": "2.0","method": "platform.getBlockchains","params": {},"id": 1}' -H 'content-type:application/json;' 127.0.0.1:9650/ext/bc/P | getJsonVal "['result']['blockchains']" | python3 docker/getBlockchainId.py C-Chain)

echo "Subnet A blockchain ID: $subnet_a_blockchain_id"
echo "Subnet B blockchain ID: $subnet_b_blockchain_id"
Expand Down

0 comments on commit a166763

Please sign in to comment.