Skip to content

Instantly share code, notes, and snippets.

@asaj
asaj / hotfix2.json
Created April 7, 2021 15:24
A Celo governance hotfix specification to set the block gas limit to 20MM.
[
{
"contract": "BlockchainParameters",
"function": "setBlockGasLimit",
"args": [
"20000000"
],
"value": "0"
}
]
@asaj
asaj / hotfix.json
Created April 7, 2021 00:11
A Celo governance hotfix specification to set the block gas limit to 20MM, set the target block density at 80%, and set the gas price minimum adjustment speed to 1.25.
[
{
"contract": "BlockchainParameters",
"function": "setBlockGasLimit",
"args": [
"20000000"
],
"value": "0"
},
{

CELO_VALIDATOR_GROUP_ADDRESS=34fd58988f2b7d065d9e3f9c3f8889f7296ede5e CELO_VALIDATOR_ADDRESS=0a82b8c03010caea7c2de84c5e7f99574e19a3ee

pragma solidity ^0.4.15;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
0x60Fe976B343E37b291afB17c8C03F6120370AA5C