Skip to content

Commit

Permalink
[ETHEREUM-CONTRACTS] fix polygon-zkevm-testnet (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
d10r authored Jul 25, 2023
1 parent 85afdd0 commit 3a9b0e5
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/automation-contracts/autowrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dotenv": "^16.0.3"
},
"dependencies": {
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"hardhat": "^2.12.4",
"hardhat-deploy": "^0.11.22"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/automation-contracts/scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dotenv": "^16.0.3"
},
"dependencies": {
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"hardhat": "^2.12.4",
"hardhat-deploy": "^0.11.22"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"devDependencies": {
"@nomiclabs/hardhat-truffle5": "^2.0.7",
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"async": "^3.2.4",
"csv-writer": "^1.6.0",
"ganache-time-traveler": "1.0.16",
Expand Down
1 change: 1 addition & 0 deletions packages/ethereum-contracts/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ const E = (module.exports = {
gnosisscan: process.env.GNOSISSCAN_API_KEY,
celoscan: process.env.CELOSCAN_API_KEY,
basescan: process.env.BASESCAN_API_KEY,
zkevm_polygonscan: process.env.ZKEVM_POLYGONSCAN_API_KEY,
},
});

Expand Down
2 changes: 1 addition & 1 deletion packages/js-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"cloc": "sh tasks/cloc.sh"
},
"dependencies": {
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"@truffle/contract": "4.5.23",
"auto-bind": "^4.0.0",
"node-fetch": "^2.6.7"
Expand Down
3 changes: 2 additions & 1 deletion packages/metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ All notable changes to the metadata will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## [v1.1.10] - 2023-07-25
- Fixed address of SuperTokenFactory for polygon-zkevm-testnet

## [v1.1.9] - 2023-07-19

Expand Down
3 changes: 2 additions & 1 deletion packages/metadata/compare-committed-against-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ module_list_built_hash=$(hashFiles './module/networks/list.js')

# Compare the hashes and exit if they are not equal
if [ "$main_list_committed_hash" != "$main_list_built_hash" ] || [ "$module_list_committed_hash" != "$module_list_built_hash" ]; then
echo "The built files are not consistent with the committed files. Please run ./build.sh and commit the changes."
echo "The built files were not consistent with the committed files."
echo "I just ran ./build.sh for you. You need to include those changes in the commit."
exit 1
fi
2 changes: 1 addition & 1 deletion packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ module.exports =
"cfaV1": "0x1EAa5ceA064aab2692AF257FB31f5291fdA3Cdee",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xBf22019a4A4430bA67D3B0c8B4d5Edc48F913301",
"superTokenFactory": "0xC95346B7394009ccEfaA62Eca28797804B2bCF1C",
"superTokenFactory": "0x0F3B163623F05b2BfF42956f7C7bd31456bd83a2",
"superfluidLoader": "0xda6db863cb2EE39b196edB8159c38A1ed5c55344"
},
"startBlockV1": 726000,
Expand Down
2 changes: 1 addition & 1 deletion packages/metadata/module/networks/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default
"cfaV1": "0x1EAa5ceA064aab2692AF257FB31f5291fdA3Cdee",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xBf22019a4A4430bA67D3B0c8B4d5Edc48F913301",
"superTokenFactory": "0xC95346B7394009ccEfaA62Eca28797804B2bCF1C",
"superTokenFactory": "0x0F3B163623F05b2BfF42956f7C7bd31456bd83a2",
"superfluidLoader": "0xda6db863cb2EE39b196edB8159c38A1ed5c55344"
},
"startBlockV1": 726000,
Expand Down
2 changes: 1 addition & 1 deletion packages/metadata/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"cfaV1": "0x1EAa5ceA064aab2692AF257FB31f5291fdA3Cdee",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xBf22019a4A4430bA67D3B0c8B4d5Edc48F913301",
"superTokenFactory": "0xC95346B7394009ccEfaA62Eca28797804B2bCF1C",
"superTokenFactory": "0x0F3B163623F05b2BfF42956f7C7bd31456bd83a2",
"superfluidLoader": "0xda6db863cb2EE39b196edB8159c38A1ed5c55344"
},
"startBlockV1": 726000,
Expand Down
2 changes: 1 addition & 1 deletion packages/metadata/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@superfluid-finance/metadata",
"version": "1.1.9",
"version": "1.1.10",
"description": "Superfluid Metadata",
"main": "main/index.cjs",
"module": "module/index.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/sdk-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to the SDK-core will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.6.8] - 2023-07-25

### Updated
- Metadata changes for recently added networks

## [0.6.7] - 2023-07-13

Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@superfluid-finance/sdk-core",
"version": "0.6.7",
"version": "0.6.8",
"description": "SDK Core for building with Superfluid Protocol",
"homepage": "https://github.com/superfluid-finance/protocol-monorepo/tree/dev/packages/sdk-core#readme",
"repository": {
Expand Down Expand Up @@ -57,7 +57,7 @@
"dependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.1",
"@superfluid-finance/ethereum-contracts": "1.7.1",
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"browserify": "^17.0.0",
"graphql-request": "^4.3.0",
"lodash": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/config/polygon-zkevm-testnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"hostAddress": "0xe64f81d5dDdA1c7172e5C6d964E8ef1BD82D8704",
"cfaAddress": "0x1EAa5ceA064aab2692AF257FB31f5291fdA3Cdee",
"idaAddress": "0xBf22019a4A4430bA67D3B0c8B4d5Edc48F913301",
"superTokenFactoryAddress": "0xC95346B7394009ccEfaA62Eca28797804B2bCF1C",
"superTokenFactoryAddress": "0x0F3B163623F05b2BfF42956f7C7bd31456bd83a2",
"resolverV1Address": "0x642332562BC60a4Bd9681E7bb1588f7456A497aC",
"nativeAssetSuperTokenAddress": "0x6345Aa6cec42a85160CF436810F97661e28c1876"
}
4 changes: 2 additions & 2 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@
"dependencies": {
"@graphprotocol/graph-cli": "0.47.1",
"@graphprotocol/graph-ts": "0.29.3",
"@superfluid-finance/sdk-core": "0.6.7",
"@superfluid-finance/sdk-core": "0.6.8",
"mustache": "^4.2.0"
},
"devDependencies": {
"@superfluid-finance/metadata": "1.1.9",
"@superfluid-finance/metadata": "1.1.10",
"coingecko-api": "^1.0.10",
"graphql": "^16.6.0",
"graphql-request": "^5.0.0",
Expand Down

0 comments on commit 3a9b0e5

Please sign in to comment.