mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
This PR improves the CLI to get from the deployments the
`RewardsRegistryAddress` (address of the RewardsRegistry contract
deployed), `RewardsAgentOrigin` (origin used for the agent in charge of
updating the rewards merkle root in the RewardsRegistry contract) and
`RewardsUpdateSelector` (function selector of the function that the
agent must execute to do the aforementioned update) and then set these
values in the `parameters` pallet of the runtime.
After these changes the rewards merkle root is being updated on the
Ethereum side. 🎉
18 lines
No EOL
305 B
JSON
18 lines
No EOL
305 B
JSON
[
|
|
{
|
|
"name": "EthereumGatewayAddress",
|
|
"value": null
|
|
},
|
|
{
|
|
"name": "RewardsRegistryAddress",
|
|
"value": null
|
|
},
|
|
{
|
|
"name": "RewardsUpdateSelector",
|
|
"value": null
|
|
},
|
|
{
|
|
"name": "RewardsAgentOrigin",
|
|
"value": null
|
|
}
|
|
] |