-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade abis to include governance (#463)
### Description although not a new contract governanceslasher was missing from from registered contracts list. #### Other changes no ### Tested existing tests, called celocli governance:build-proposal and selected GovernanceSlasher from the list ### Related issues <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces the `GovernanceSlasher` to the `RegisteredContractsEnum`, updates dependencies, and modifies related contract factory and documentation files. ### Detailed summary - Added `GovernanceSlasher` to `RegisteredContractsEnum` in `base.ts`. - Updated dependencies for `@celo/abis-12` in `package.json` files. - Imported `newGovernanceSlasher` in `web3-contract-cache.ts`. - Updated `ContractFactories` to include `GovernanceSlasher`. - Updated documentation to reflect the addition of `GovernanceSlasher`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
Showing
12 changed files
with
101 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@celo/contractkit': patch | ||
'@celo/governance': patch | ||
'@celo/celocli': patch | ||
--- | ||
|
||
Add GovernanceSlasher to RegisteredContractsEnum |
70 changes: 35 additions & 35 deletions
70
docs/sdk/contractkit/classes/web3_contract_cache.Web3ContractCache.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ | |
}, | ||
"dependencies": { | ||
"@celo/abis": "11.0.0", | ||
"@celo/abis-12": "npm:@celo/[email protected].66", | ||
"@celo/abis-12": "npm:@celo/[email protected].76", | ||
"@celo/base": "^7.0.0-beta.0", | ||
"@celo/connect": "^6.1.0-beta.1", | ||
"@celo/utils": "^8.0.0-beta.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
}, | ||
"dependencies": { | ||
"@celo/abis": "11.0.0", | ||
"@celo/abis-12": "npm:@celo/[email protected].66", | ||
"@celo/abis-12": "npm:@celo/[email protected].76", | ||
"@celo/base": "^7.0.0-beta.0", | ||
"@celo/connect": "^6.1.0-beta.1", | ||
"@celo/contractkit": "^9.0.0-beta.3", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1631,10 +1631,10 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"@celo/abis-12@npm:@celo/[email protected].66": | ||
version: 12.0.0-canary.66 | ||
resolution: "@celo/abis@npm:12.0.0-canary.66" | ||
checksum: 71f85edda338c651e214e77d983a9fb644cdc2f5bb0fe6bc471d73e3a8f87256dc4dc6e966e79d7b239fd5729d4862606c384a8f601e030829111e32b0824279 | ||
"@celo/abis-12@npm:@celo/[email protected].76": | ||
version: 12.0.0-canary.76 | ||
resolution: "@celo/abis@npm:12.0.0-canary.76" | ||
checksum: af199e39218c048653cf4ddb304e5bc238c71fb21398af36c821ff1165a69cdb6ab9c29e2a10f3c98bc92cc57985c3649217ca343944013d801e421074349fc3 | ||
languageName: node | ||
linkType: hard | ||
|
||
|
@@ -1835,7 +1835,7 @@ __metadata: | |
resolution: "@celo/contractkit@workspace:packages/sdk/contractkit" | ||
dependencies: | ||
"@celo/abis": "npm:11.0.0" | ||
"@celo/abis-12": "npm:@celo/[email protected].66" | ||
"@celo/abis-12": "npm:@celo/[email protected].76" | ||
"@celo/base": "npm:^7.0.0-beta.0" | ||
"@celo/celo-devchain": "npm:^7.0.0" | ||
"@celo/connect": "npm:^6.1.0-beta.1" | ||
|
@@ -1935,7 +1935,7 @@ __metadata: | |
resolution: "@celo/governance@workspace:packages/sdk/governance" | ||
dependencies: | ||
"@celo/abis": "npm:11.0.0" | ||
"@celo/abis-12": "npm:@celo/[email protected].66" | ||
"@celo/abis-12": "npm:@celo/[email protected].76" | ||
"@celo/base": "npm:^7.0.0-beta.0" | ||
"@celo/connect": "npm:^6.1.0-beta.1" | ||
"@celo/contractkit": "npm:^9.0.0-beta.3" | ||
|