Skip to content

Commit

Permalink
[ETHEREUM-CONTRACTS] Fix canary build (#1742)
Browse files Browse the repository at this point in the history
* allow listing non-standard SuperTokens

* fix canary build, fixes #1633
  • Loading branch information
d10r authored and hellwolf committed Jan 23, 2024
1 parent 7615f92 commit 1cba07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ jobs:
cloudfront_distribution_id: E3JEO5R14CT8IH

upgrade-contracts:
name: Upgrade ethereum-contracts on canary testnet (protocol release version "test")
name: Upgrade ethereum-contracts on canary testnet (protocol release version "canary")

needs: [all-packages-tested]

Expand Down Expand Up @@ -306,6 +306,6 @@ jobs:
npx truffle exec --network ${{ matrix.network }} ops-scripts/info-print-contract-addresses.js : addresses.vars
tasks/etherscan-verify-framework.sh ${{ matrix.network }} addresses.vars
env:
RELEASE_VERSION: master
RELEASE_VERSION: canary
AVALANCHE_FUJI_MNEMONIC: ${{ secrets.BUILD_AGENT_MNEMONIC }}
AVALANCHE_FUJI_PROVIDER_URL: ${{ secrets.AVALANCHE_FUJI_PROVIDER_URL }}
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ module.exports = eval(`(${S.toString()})()`)(async function (
"org.superfluid-finance.contracts.SuperToken.implementation"
)
) {
throw new Error("Not a super token");
// This may be ok, but may also point to a mistake in address handling (e.g. not a SuperToken).
console.warn('!!! proxiableUUID is not keccak("org.superfluid-finance.contracts.SuperToken.implementation")');
}
const tokenSymbol = symbolOverride !== undefined ? symbolOverride : await superToken.symbol.call();
const superTokenKey = `supertokens.${protocolReleaseVersion}.${tokenSymbol}`;
Expand Down

0 comments on commit 1cba07b

Please sign in to comment.