File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.s
66import {DevOpsTools} from "lib/foundry-devops/src/DevOpsTools.sol " ;
77import {NearX, decodePackedIds, TransactionOrReceiptId} from "../src/NearX.sol " ;
88
9- // TODO: refactor for 128, taking the input fixture
109contract RequestSync is Script {
1110 function run () external {
1211 address mostRecentlyDeployedProxy = DevOpsTools
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.s
66import {DevOpsTools} from "lib/foundry-devops/src/DevOpsTools.sol " ;
77import {NearX, decodePackedIds, TransactionOrReceiptId} from "../src/NearX.sol " ;
88
9- // TODO: refactor for 128, taking the input fixture
109contract RequestVerify is Script {
1110 function run () external {
1211 address mostRecentlyDeployedProxy = DevOpsTools
Original file line number Diff line number Diff line change 66fi
77
88export VERSION=" ${VERSION:- v0.0.3} "
9- export ETH_RPC=" ${ETH_RPC:- https:// rpc.goerli .eth.gateway.fm} "
9+ export ETH_RPC=" ${ETH_RPC:- https:// rpc.sepolia .eth.gateway.fm} "
1010export NEAR_CHECKPOINT_HEADER_HASH=" ${NEAR_CHECKPOINT_HEADER_HASH:= 0x63b87190ffbaa36d7dab50f918fe36f70ab26910a0e9d797161e2356561598e3} "
11- export CHAIN_ID=${CHAIN_ID:= 5 }
11+ export CHAIN_ID=${CHAIN_ID:= 11155111 }
1212
1313if [ -z " $ETH_PRIVATE_KEY " ]; then
1414 echo " You need to set ETH_PRIVATE_KEY"
@@ -42,7 +42,8 @@ function pullDeployment() {
4242 echo " Getting deployments"
4343 (cd " api/NEAR Light Client" && npx -y @usebruno/cli run " Succinct/Get Deployments.bru" --env testnet -o /tmp/result.json)
4444 RESULT=$( cat /tmp/result.json | jq ' .results[0].response.data' )
45- echo $RESULT | jq .
45+ RESULT=$( echo $RESULT | jq -r " [.[] | select(.chain_id == $CHAIN_ID )]" )
46+ echo $RESULT
4647}
4748
4849function extractInfo() {
You can’t perform that action at this time.
0 commit comments