Skip to content

Commit

Permalink
Cannon Update: latest (#2325)
Browse files Browse the repository at this point in the history
* Cannon Update: latest

* add bundle salt definition

* fix storage dump

* fix spot market missing var

* add another missing var

---------

Co-authored-by: noisekit <[email protected]>
Co-authored-by: dbeal <[email protected]>
Co-authored-by: Daniel Beal <[email protected]>
  • Loading branch information
4 people authored Oct 11, 2024
1 parent 5255a1c commit 90119c0
Show file tree
Hide file tree
Showing 19 changed files with 117 additions and 64 deletions.
2 changes: 1 addition & 1 deletion auxiliary/ERC4626ToAssetsRatioOracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@synthetixio/docgen": "workspace:*",
"@synthetixio/main": "workspace:*",
"@synthetixio/wei": "^2.74.4",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"solidity-docgen": "^0.6.0-beta.36"
Expand Down
2 changes: 1 addition & 1 deletion auxiliary/RewardsDistributor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"forge-coverage": "forge coverage --report lcov"
},
"devDependencies": {
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"forge-std": "github:foundry-rs/forge-std#master"
},
"depcheck": {
Expand Down
2 changes: 1 addition & 1 deletion auxiliary/RewardsDistributorExternal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"forge-coverage": "forge coverage --report lcov"
},
"devDependencies": {
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"forge-std": "github:foundry-rs/forge-std#master"
},
"depcheck": {
Expand Down
2 changes: 1 addition & 1 deletion auxiliary/WstEthToStEthRatioOracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@synthetixio/docgen": "workspace:*",
"@synthetixio/main": "workspace:*",
"@synthetixio/wei": "^2.74.4",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"solidity-docgen": "^0.6.0-beta.36"
Expand Down
2 changes: 1 addition & 1 deletion markets/bfp-market/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@synthetixio/wei": "^2.74.4",
"@types/lodash": "^4.14.199",
"@types/mocha-each": "^2.0.1",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"lodash": "^4.17.21",
Expand Down
3 changes: 3 additions & 0 deletions markets/perps-market/cannonfile.test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ defaultValue = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
description = "perps market owner"
defaultValue = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"

[setting.salt]
defaultValue = ""

[setting.synthetixPackage]
defaultValue = "synthetix:<%= package.version %>-testable"
depends = []
Expand Down
2 changes: 1 addition & 1 deletion markets/perps-market/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@synthetixio/oracle-manager": "workspace:*",
"@synthetixio/spot-market": "workspace:*",
"@synthetixio/wei": "^2.74.4",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"solidity-docgen": "^0.6.0-beta.36",
Expand Down
2 changes: 1 addition & 1 deletion markets/perps-market/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@graphprotocol/graph-cli": "^0.81.0",
"@graphprotocol/graph-ts": "^0.35.1",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"matchstick-as": "^0.6.0",
"prettier": "^3.2.5"
Expand Down
3 changes: 3 additions & 0 deletions markets/spot-market/cannonfile.test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ defaultValue = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
defaultValue = "synthetix:<%= package.version %>-testable"
depends = []

[setting.salt]
defaultValue = ""

[import.synthetix]
source = "<%= settings.synthetixPackage %>"

Expand Down
2 changes: 1 addition & 1 deletion markets/spot-market/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@synthetixio/oracle-manager": "workspace:*",
"@synthetixio/wei": "^2.74.4",
"@types/node-fetch": "^2.6.11",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"node-fetch": "^2.7.0",
Expand Down
2 changes: 1 addition & 1 deletion markets/spot-market/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"devDependencies": {
"@graphprotocol/graph-cli": "^0.81.0",
"@graphprotocol/graph-ts": "^0.35.1",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"matchstick-as": "^0.6.0",
"prettier": "^3.2.5"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"eslint": "^9.9.1",
"eslint-plugin-no-only-tests": "^3.1.0",
"globals": "^15.9.0",
Expand Down
2 changes: 1 addition & 1 deletion protocol/governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@synthetixio/core-modules": "workspace:*",
"@synthetixio/core-utils": "workspace:*",
"@synthetixio/docgen": "workspace:*",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"solidity-docgen": "^0.6.0-beta.36",
Expand Down
3 changes: 3 additions & 0 deletions protocol/governance/tomls/proxy-base.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[setting.salt]
defaultValue = "governance"

[setting.bundleSalt]
defaultValue = ""

[setting.owner]

[contract.InitialModuleBundle]
Expand Down
2 changes: 1 addition & 1 deletion protocol/synthetix/subgraph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@graphprotocol/graph-cli": "^0.81.0",
"@graphprotocol/graph-ts": "^0.35.1",
"@usecannon/cli": "2.17.4",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"matchstick-as": "^0.6.0",
"prettier": "^3.2.5"
Expand Down
2 changes: 1 addition & 1 deletion utils/common-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@typechain/hardhat": "^9.1.0",
"dotenv": "^16.4.3",
"hardhat": "^2.19.5",
"hardhat-cannon": "2.17.4",
"hardhat-cannon": "2.18.2",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^1.0.10",
"hardhat-ignore-warnings": "^0.2.9",
Expand Down
4 changes: 2 additions & 2 deletions utils/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/micromatch": "^4",
"@types/prompts": "^2.4.9",
"@usecannon/builder": "2.17.4",
"@usecannon/cli": "2.17.4",
"@usecannon/builder": "2.18.2",
"@usecannon/cli": "2.18.2",
"ethers": "^5.7.2",
"get-port": "^7.0.0",
"hardhat": "^2.19.5",
Expand Down
2 changes: 1 addition & 1 deletion utils/sample-project/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@synthetixio/hardhat-storage": "workspace:*",
"ethers": "^5.7.2",
"hardhat": "^2.19.5",
"hardhat-cannon": "2.17.4",
"hardhat-cannon": "2.18.2",
"solidity-coverage": "^0.8.7"
}
}
Loading

0 comments on commit 90119c0

Please sign in to comment.