Skip to content

Commit

Permalink
Remove minimum client version from contract info
Browse files Browse the repository at this point in the history
  • Loading branch information
karlb committed May 16, 2023
1 parent 239ec5c commit 3800168
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 99 deletions.
22 changes: 0 additions & 22 deletions contracts/abis/abi_str.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,6 @@ const RegistryStr = `[
]`

const BlockchainParametersStr = `[
{
"constant": true,
"inputs": [],
"name": "getMinimumClientVersion",
"outputs": [
{
"name": "major",
"type": "uint256"
},
{
"name": "minor",
"type": "uint256"
},
{
"name": "patch",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
Expand Down
2 changes: 0 additions & 2 deletions contracts/blockchain_parameters/blockchain_parameters.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package blockchain_parameters

import (
"math/big"
"time"

"github.com/celo-org/celo-blockchain/common/hexutil"
"github.com/celo-org/celo-blockchain/contracts"
Expand All @@ -35,7 +34,6 @@ const (
)

var (
getMinimumClientVersionMethod = contracts.NewRegisteredContractMethod(config.BlockchainParametersRegistryId, abis.BlockchainParameters, "getMinimumClientVersion", maxGasForReadBlockchainParameter)
intrinsicGasForAlternativeFeeCurrencyMethod = contracts.NewRegisteredContractMethod(config.BlockchainParametersRegistryId, abis.BlockchainParameters, "intrinsicGasForAlternativeFeeCurrency", maxGasForReadBlockchainParameter)
blockGasLimitMethod = contracts.NewRegisteredContractMethod(config.BlockchainParametersRegistryId, abis.BlockchainParameters, "blockGasLimit", maxGasForReadBlockchainParameter)
getUptimeLookbackWindowMethod = contracts.NewRegisteredContractMethod(config.BlockchainParametersRegistryId, abis.BlockchainParameters, "getUptimeLookbackWindow", maxGasForReadBlockchainParameter)
Expand Down
75 changes: 0 additions & 75 deletions mycelo/contract/gen_abis.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3800168

Please sign in to comment.