Skip to content

Commit

Permalink
Redeployed Paranet/ParanetsRegistry on V8 devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
u-hubar committed Sep 27, 2024
1 parent f28dfca commit 2f42b4c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 88 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ This project utilizes a variety of NPM scripts to run various tasks and processe
- `compile:size`: Compiles the smart contracts and analyzes the size of the compiled contracts using the hardhat-contract-sizer plugin.
- `compile`: Compiles the smart contracts with specific configuration using `hardhat.node.config.ts`.
- `coverage`: Generates a code coverage report for the smart contracts with specific network and coverage settings.
- `deploy:v1:gnosis_chiado_dev`, `deploy:v1:gnosis_chiado_test`, `deploy:v1:gnosis_mainnet`, `deploy:v1:localhost`, `deploy:v1:otp_alphanet`, `deploy:v1:otp_devnet`, `deploy:v1:otp_mainnet`, `deploy:v1:otp_testnet`, and `deploy:v1`: Deploy version 1 of the smart contracts to various networks including Gnosis Chiado, Hardhat, OriginTrail Parachain Alphanet, OriginTrail Parachain Devnet, OriginTrail Parachain Testnet, and OriginTrail Parachain Mainnet.
- `deploy:v2:gnosis_chiado_dev`, `deploy:v2:gnosis_chiado_test`, `deploy:v2:gnosis_mainnet`, `deploy:v2:localhost`, `deploy:v2:otp_alphanet`, `deploy:v2:otp_devnet`, `deploy:v2:otp_mainnet`, `deploy:v2:otp_testnet`, and `deploy:v2`: Similar to the v1 deploy scripts, these deploy version 2 of the smart contracts to the respective networks.
- `deploy:v1:gnosis_chiado_test`, `deploy:v1:gnosis_mainnet`, `deploy:v1:localhost`, `deploy:v1:otp_mainnet`, `deploy:v1:otp_testnet`, and `deploy:v1`: Deploy version 1 of the smart contracts to various networks including Gnosis Chiado, Hardhat, OriginTrail Parachain Alphanet, OriginTrail Parachain Devnet, OriginTrail Parachain Testnet, and OriginTrail Parachain Mainnet.
- `deploy:v2:gnosis_chiado_test`, `deploy:v2:gnosis_mainnet`, `deploy:v2:localhost`, `deploy:v2:otp_mainnet`, `deploy:v2:otp_testnet`, and `deploy:v2`: Similar to the v1 deploy scripts, these deploy version 2 of the smart contracts to the respective networks.
- `dev:v1`, `dev:v2`, and `dev`: Run local development nodes with Hardhat for different versions of contracts.
- `export-abi`: Updates ABI files according to the current state of the smart contracts.
- `format:fix`: Automatically fixes code formatting issues for JSON, JavaScript, TypeScript, and Solidity files using Prettier.
Expand All @@ -71,7 +71,7 @@ Hardhat has plenty of other useful commands, extended by the installed plugins.
- `decode`: Decodes encoded ABI data (e.g. input data of transaction).
- `encode_selector`: Calculates EVM function/event/error selector (sighash).
- `encode_data`: Encodes data needed for low-level contract calls.
- `clear_sharding_table`: Removes nodes from sharding table based on Node IDs from the given CSV file (example usage: `npx hardhat clear_sharding_table --file-path ./peers.csv --network otp_devnet`).
- `clear_sharding_table`: Removes nodes from sharding table based on Node IDs from the given CSV file (example usage: `npx hardhat clear_sharding_table --file-path ./peers.csv --network otp_testnet`).

These tasks can be run using the `npx hardhat <task-name>` command. For example, to decode input data, you can run:

Expand Down
16 changes: 8 additions & 8 deletions deployments/base_sepolia_v8_dev_contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@
"deployed": true
},
"ParanetsRegistry": {
"evmAddress": "0xB0a2790BBd99894Ed5fBDe788fc6Ce53da161449",
"evmAddress": "0x40Fc192EbC955650d8708764707FDD9CC884f2b8",
"version": "2.2.0",
"gitBranch": "v8/curated-paranets",
"gitCommitHash": "3eafa7e892fd91ed7a9fcf22ece46aab5c0f5174",
"deploymentBlock": 15710276,
"deploymentTimestamp": 1727188847393,
"gitCommitHash": "f28dfca8d20cdd15d301598127ab649ee15cbfd1",
"deploymentBlock": 15832550,
"deploymentTimestamp": 1727433394740,
"deployed": true
},
"ParanetServicesRegistry": {
Expand Down Expand Up @@ -311,12 +311,12 @@
"deployed": true
},
"Paranet": {
"evmAddress": "0x56d5d8d9757187f228e36aF581063724330D00A2",
"evmAddress": "0x1485724a905Ab9AeC9D9b69d540f1076683262Cd",
"version": "2.2.0",
"gitBranch": "v8/curated-paranets",
"gitCommitHash": "3eafa7e892fd91ed7a9fcf22ece46aab5c0f5174",
"deploymentBlock": 15710351,
"deploymentTimestamp": 1727188998220,
"gitCommitHash": "f28dfca8d20cdd15d301598127ab649ee15cbfd1",
"deploymentBlock": 15832560,
"deploymentTimestamp": 1727433410570,
"deployed": true
}
}
Expand Down
78 changes: 1 addition & 77 deletions deployments/parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,83 +165,7 @@
}
},
"devnet": {
"overrides": {
"otp_devnet": {
"CommitManagerV1": {
"reqs": [
{
"desiredValue": true,
"getterArgs": [0],
"setter": "setReq",
"setterArgs": [0, true]
},
{
"desiredValue": false,
"getterArgs": [1],
"setter": "setReq",
"setterArgs": [1, false]
},
{
"desiredValue": false,
"getterArgs": [2],
"setter": "setReq",
"setterArgs": [2, false]
},
{
"desiredValue": false,
"getterArgs": [3],
"setter": "setReq",
"setterArgs": [3, false]
}
]
},
"CommitManagerV1U1": {
"reqs": [
{
"desiredValue": true,
"getterArgs": [0],
"setter": "setReq",
"setterArgs": [0, true]
},
{
"desiredValue": false,
"getterArgs": [1],
"setter": "setReq",
"setterArgs": [1, false]
},
{
"desiredValue": true,
"getterArgs": [2],
"setter": "setReq",
"setterArgs": [2, true]
},
{
"desiredValue": false,
"getterArgs": [3],
"setter": "setReq",
"setterArgs": [3, false]
},
{
"desiredValue": false,
"getterArgs": [4],
"setter": "setReq",
"setterArgs": [4, false]
},
{
"desiredValue": false,
"getterArgs": [5],
"setter": "setReq",
"setterArgs": [5, false]
}
]
}
},
"base_sepolia_dev": {
"ParametersStorage": {
"r2": 15
}
}
},
"overrides": {},
"CommitManagerV1": {
"reqs": [
{
Expand Down

0 comments on commit 2f42b4c

Please sign in to comment.