Skip to content

Commit

Permalink
output to temporary logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fbac committed Jan 9, 2025
1 parent 74d19c3 commit 1fa88e8
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 13 deletions.
8 changes: 4 additions & 4 deletions contracts/config/anvil_localnet/GroupMessages.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"addresses": {
"groupMessagesDeployer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"groupMessagesImpl": "0x921634fd898582c7e51A2e2A5F7b93328394a408",
"groupMessagesProxy": "0x40310c9F0E822697Dd9e6F44d88528aB93b529C0",
"groupMessagesImpl": "0xE72B348bCA4DAAD3d8886342557d581B50Bf3971",
"groupMessagesProxy": "0x21A21fa613917600e9dDE4441920562bB6238DaE",
"groupMessagesProxyAdmin": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
},
"deploymentBlock": 632,
"latestUpgradeBlock": 632
"deploymentBlock": 639,
"latestUpgradeBlock": 639
}
8 changes: 4 additions & 4 deletions contracts/config/anvil_localnet/IdentityUpdates.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"addresses": {
"identityUpdatesDeployer": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
"identityUpdatesImpl": "0xdb71d1A0CACD62e37dB898a8E5f005a02F9B885b",
"identityUpdatesProxy": "0x4507BF58E135eDD74df1A7288B3E5582185D52dA",
"identityUpdatesImpl": "0x3eEAEf0dddbda233651dc839591b992795Ba7168",
"identityUpdatesProxy": "0x346422cF9c620668089453838EDD1a30F9b1A273",
"identityUpdatesProxyAdmin": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
},
"deploymentBlock": 634,
"latestUpgradeBlock": 634
"deploymentBlock": 641,
"latestUpgradeBlock": 641
}
23 changes: 18 additions & 5 deletions contracts/dev/deploy-local
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,44 @@ cd "${repo_root}"
source dev/lib/env
source dev/lib/common

# Ensure there are no old artifacts
forge clean
echo -e "⧖ Cleaning old artifacts"
forge clean &> forge_clean.log
if [ $? -ne 0 ]; then
echo "ERROR: Failed to clean old artifacts"
cat forge_clean.log
exit 1
fi
rm forge_clean.log
echo -e "✔ Old artifacts cleaned successfully\n"

echo -e "⧖ Updating dependencies"
forge soldeer update -q
forge soldeer update &> forge_soldeer_update.log
if [ $? -ne 0 ]; then
echo "ERROR: Failed to update dependencies"
cat forge_soldeer_update.log
exit 1
fi
rm forge_soldeer_update.log
echo -e "✔ Dependencies updated successfully\n"

echo -e "⧖ Building contracts"
forge build -q
forge build &> forge_build.log
if [ $? -ne 0 ]; then
echo "ERROR: Failed to build contracts"
cat forge_build.log
exit 1
fi
rm forge_build.log
echo -e "✔ Contracts built successfully\n"

echo -e "⧖ Running contract tests"
forge test -q
forge test &> forge_test.log
if [ $? -ne 0 ]; then
echo "ERROR: Tests failed"
cat forge_test.log
exit 1
fi
rm forge_test.log
echo -e "✔ Tests passed successfully\n"

forge_deploy_script group_messages
Expand Down

0 comments on commit 1fa88e8

Please sign in to comment.