Skip to content

Commit

Permalink
remove store of L@_DIVA_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
ricott1 committed Jul 1, 2024
1 parent e5e3fde commit 3406aed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion script/swap_and_bridge/test/e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ then
DeploymentJSON=$(cast send --rpc-url "http://localhost:8546" "0x4200000000000000000000000000000000000012" "createOptimismMintableERC20WithDecimals(address,string,string,uint8)" $L1_TOKEN_ADDR_DIVA "Wrapped Diva Local Token" wdivETH 18 --private-key $PRIVATE_KEY)
L2_TOKEN_ADDR_DIVA="0x$(echo $DeploymentJSON | awk 'BEGIN{FS="topics:*"}{print $2}' | awk -F, '{print $3}' | awk 'BEGIN{FS="\]*"}{print $1}' | cut -d "\"" -f 2 | tail -c 41)"
echo "L2_TOKEN_ADDR_DIVA deployed to" $L2_TOKEN_ADDR_DIVA
sed -i '' -e "s/L2_TOKEN_ADDR_DIVA=/L2_TOKEN_ADDR_DIVA=$L2_TOKEN_ADDR_DIVA/g" .env
fi

echo "Running E2E tests for Diva contract..."
Expand Down
1 change: 0 additions & 1 deletion script/swap_and_bridge/test/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ then
DeploymentJSON=$(cast send --rpc-url "http://localhost:8546" "0x4200000000000000000000000000000000000012" "createOptimismMintableERC20WithDecimals(address,string,string,uint8)" $L1_TOKEN_ADDR_DIVA "Wrapped Diva Local Token" wdivETH 18 --private-key $PRIVATE_KEY)
L2_TOKEN_ADDR_DIVA="0x$(echo $DeploymentJSON | awk 'BEGIN{FS="topics:*"}{print $2}' | awk -F, '{print $3}' | awk 'BEGIN{FS="\]*"}{print $1}' | cut -d "\"" -f 2 | tail -c 41)"
echo "L2_TOKEN_ADDR_DIVA deployed to" $L2_TOKEN_ADDR_DIVA
sed -i '' -e "s/L2_TOKEN_ADDR_DIVA=/L2_TOKEN_ADDR_DIVA=$L2_TOKEN_ADDR_DIVA/g" .env
fi

echo "Running integration tests for Diva contract..."
Expand Down

0 comments on commit 3406aed

Please sign in to comment.