You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure which is correct, but I'm thinking maybe the validation should be removed from the blockchain, since validation seems to be done at the contract level making the blockchain validation redundant and the error returned from the contract seems quite readable.
I noticed also that this parameter is set in 2 places in the config.
Description
The celo-blockchain has the following validation
celo-blockchain/consensus/istanbul/config.go
Lines 123 to 125 in 43ae190
And celo-monorepo has the following.
https://github.com/celo-org/celo-monorepo/blob/64e618b9b856073305dd5748fc04fc772ff72714/packages/protocol/contracts/governance/BlockchainParameters.sol#L110-L113
Proposed Solution
I'm not sure which is correct, but I'm thinking maybe the validation should be removed from the blockchain, since validation seems to be done at the contract level making the blockchain validation redundant and the error returned from the contract seems quite readable.
I noticed also that this parameter is set in 2 places in the config.
celo-blockchain/params/config.go
Line 235 in 43ae190
and
celo-blockchain/mycelo/genesis/config.go
Line 146 in 43ae190
The text was updated successfully, but these errors were encountered: