Skip to content

Commit

Permalink
remove the use of the flow-c1 command
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Sep 11, 2024
1 parent 9ee38bc commit ccd6e3d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
34 changes: 20 additions & 14 deletions flow.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,30 +520,35 @@
"FlowEVMBridgeConfig": {
"source": "./contracts/evm/FlowEVMBridgeConfig.cdc",
"aliases": {
"emulator": "f8d6e0586b0a20c7",
"mainnet": "1e4aa0b87d10b141",
"testing": "0000000000000007",
"testnet": "dfc20aee650fcbdf"
"emulator": "0xf8d6e0586b0a20c7",
"mainnet": "0x1e4aa0b87d10b141",
"testnet": "0xdfc20aee650fcbdf"
}
},
"FlowEVMBridgeHandlerInterfaces": {
"source": "./contracts/evm/FlowEVMBridgeHandlerInterfaces.cdc",
"aliases": {
"emulator": "f8d6e0586b0a20c7",
"mainnet": "1e4aa0b87d10b141",
"testing": "0000000000000007",
"testnet": "dfc20aee650fcbdf"
"emulator": "0xf8d6e0586b0a20c7",
"mainnet": "0x1e4aa0b87d10b141",
"testnet": "0xdfc20aee650fcbdf"
}
},
"FlowEVMBridgeHandlers": {
"source": "./contracts/evm/FlowEVMBridgeHandlers.cdc",
"aliases": {
"emulator": "f8d6e0586b0a20c7",
"mainnet": "1e4aa0b87d10b141",
"testing": "0000000000000007",
"testnet": "dfc20aee650fcbdf"
"emulator": "0xf8d6e0586b0a20c7",
"mainnet": "0x1e4aa0b87d10b141",
"testnet": "0xdfc20aee650fcbdf"
}
}
},
"USDCFlow": {
"source": "./contracts/tokens/USDCFlow",
"aliases": {
"emulator": "0xf8d6e0586b0a20c7",
"testnet": "0x64adf39cbc354fcb",
"mainnet": "0xf1ab99c82dee3526"
}
}
},
"deployments": {
"emulator": {
Expand Down Expand Up @@ -589,7 +594,8 @@
"EVM",
"FlowEVMBridgeConfig",
"FlowEVMBridgeHandlerInterfaces",
"FlowEVMBridgeHandlers"
"FlowEVMBridgeHandlers",
"USDCFlow"
],
"emulator-ft": [
"FungibleToken",
Expand Down
6 changes: 3 additions & 3 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ npx flow-contracts add-all --config "$configPath"

echo "starting the flow emulator in 5 seconds..."
sleep 5
nohup flow-c1 emulator &
nohup flow emulator &

sleep 5

echo "deploying contracts..."
flow-c1 project deploy --update
flow project deploy --update

echo "deployment complete!"

sleep 3
echo "cleaning up..."
pkill -f flow-c1
pkill -f flow
rm flow.json

exit 0

0 comments on commit ccd6e3d

Please sign in to comment.