Skip to content

Commit

Permalink
[METADATA] again (#1800)
Browse files Browse the repository at this point in the history
* update scroll-mainnet gov, don't allow invalid json anymore

* bump version
  • Loading branch information
d10r authored Jan 22, 2024
1 parent 64cb27a commit 083b723
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 13 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 @@ -15,6 +15,6 @@
"dependencies": {
"@openzeppelin/contracts": "4.9.3",
"@superfluid-finance/ethereum-contracts": "1.9.0",
"@superfluid-finance/metadata": "1.1.24"
"@superfluid-finance/metadata": "1.1.25"
}
}
2 changes: 1 addition & 1 deletion packages/automation-contracts/scheduler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"dependencies": {
"@openzeppelin/contracts": "4.9.3",
"@superfluid-finance/ethereum-contracts": "1.9.0",
"@superfluid-finance/metadata": "1.1.24"
"@superfluid-finance/metadata": "1.1.25"
}
}
2 changes: 1 addition & 1 deletion packages/ethereum-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"@safe-global/safe-service-client": "^2.0.3",
"@safe-global/safe-web3-lib": "^1.9.4",
"@superfluid-finance/js-sdk": "0.6.3",
"@superfluid-finance/metadata": "1.1.24",
"@superfluid-finance/metadata": "1.1.25",
"async": "^3.2.5",
"csv-writer": "^1.6.0",
"ethers": "^5.7.2",
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.24",
"@superfluid-finance/metadata": "1.1.25",
"@truffle/contract": "4.6.29",
"auto-bind": "4.0.0",
"node-fetch": "2.7.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ 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).

## [v1.1.25]
### Changed
- updated gov contract of scroll-mainnet
### Fixed
- invalid networks.json

## [v1.1.24]
### Changed
- added forwarder addresses for scroll-sepolia, scroll-mainnet
Expand Down
4 changes: 2 additions & 2 deletions packages/metadata/main/networks/list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ module.exports =
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
"governance": "0x43A636A202203e52ea99b6515a191b888ccc57AC",
"governance": "0xC2C9a709A6744816b3712D520BD314fe610AEa33",
"cfaV1": "0x9d146055738BD4D258c99927A3188C94dCf4cd18",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xC537033813fA474e5f9588114ef2EfBB0564e080",
Expand All @@ -947,7 +947,7 @@ module.exports =
"constantOutflowNFT": "0x0de05fe0fF8F5eA9475CA8425e2D05Dd38ccED84",
"constantInflowNFT": "0x8c24Fc82c8fDd763F08E654212fc27e577EbD934",
"superfluidLoader": "0x7613030429E95cDFC76FE70f9573037068B51815",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673"
},
"startBlockV1": 2575000,
"logsQueryRange": 50000,
Expand Down
4 changes: 2 additions & 2 deletions packages/metadata/module/networks/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ export default
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
"governance": "0x43A636A202203e52ea99b6515a191b888ccc57AC",
"governance": "0xC2C9a709A6744816b3712D520BD314fe610AEa33",
"cfaV1": "0x9d146055738BD4D258c99927A3188C94dCf4cd18",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xC537033813fA474e5f9588114ef2EfBB0564e080",
Expand All @@ -947,7 +947,7 @@ export default
"constantOutflowNFT": "0x0de05fe0fF8F5eA9475CA8425e2D05Dd38ccED84",
"constantInflowNFT": "0x8c24Fc82c8fDd763F08E654212fc27e577EbD934",
"superfluidLoader": "0x7613030429E95cDFC76FE70f9573037068B51815",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673"
},
"startBlockV1": 2575000,
"logsQueryRange": 50000,
Expand Down
4 changes: 2 additions & 2 deletions packages/metadata/networks.json
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@
"contractsV1": {
"resolver": "0xb25a19c0e7d10c8D37E5b63Ed3213b67f7ebfF80",
"host": "0x0F86a21F6216c061B222c224e315d9FC34520bb7",
"governance": "0x43A636A202203e52ea99b6515a191b888ccc57AC",
"governance": "0xC2C9a709A6744816b3712D520BD314fe610AEa33",
"cfaV1": "0x9d146055738BD4D258c99927A3188C94dCf4cd18",
"cfaV1Forwarder": "0xcfA132E353cB4E398080B9700609bb008eceB125",
"idaV1": "0xC537033813fA474e5f9588114ef2EfBB0564e080",
Expand All @@ -945,7 +945,7 @@
"constantOutflowNFT": "0x0de05fe0fF8F5eA9475CA8425e2D05Dd38ccED84",
"constantInflowNFT": "0x8c24Fc82c8fDd763F08E654212fc27e577EbD934",
"superfluidLoader": "0x7613030429E95cDFC76FE70f9573037068B51815",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673",
"superTokenFactory": "0xacFBED2bC9344C158DD3dC229b84Bd7220e7c673"
},
"startBlockV1": 2575000,
"logsQueryRange": 50000,
Expand Down
3 changes: 2 additions & 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.24",
"version": "1.1.25",
"description": "Superfluid Metadata",
"main": "main/index.cjs",
"module": "module/index.js",
Expand All @@ -22,6 +22,7 @@
"pre-commit:check": "./tasks/compare-committed-against-build.sh",
"lint": "run-s lint:*",
"lint:js-eslint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
"lint:consistency": "./tasks/compare-committed-against-build.sh",
"fix": "run-s fix:*",
"fix:eslint": "yarn lint:js-eslint --fix",
"check-updates": "ncu --target minor"
Expand Down
3 changes: 3 additions & 0 deletions packages/metadata/tasks/compare-committed-against-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ function hashFiles() {
sha256sum "$1" | cut -d ' ' -f 1
}

# first of all, ensure that we have valid json
jq empty networks.json

# Hash the commited files
main_list_committed_hash=$(hashFiles ./main/networks/list.cjs)
module_list_committed_hash=$(hashFiles ./module/networks/list.js)
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"dependencies": {
"@superfluid-finance/ethereum-contracts": "1.9.0",
"@superfluid-finance/metadata": "1.1.24",
"@superfluid-finance/metadata": "1.1.25",
"browserify": "^17.0.0",
"graphql-request": "^6.1.0",
"lodash": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"mustache": "^4.2.0"
},
"devDependencies": {
"@superfluid-finance/metadata": "1.1.24",
"@superfluid-finance/metadata": "1.1.25",
"coingecko-api": "^1.0.10",
"graphql": "^16.8.1",
"graphql-request": "^6.1.0",
Expand Down

0 comments on commit 083b723

Please sign in to comment.