• Mark Tyneway's avatar
    contracts-bedrock: update systemconfig resource config validation · 8a15b68f
    Mark Tyneway authored
    Updates the way that the system config validates the resource
    config to ensure that its not possible to set config values
    that break the system. It is possible to set config values
    that would burn too much gas, rendering the system unusable.
    Every error cannot be caught, so try to catch the most possible.
    Altering the default resource config is not recommended, but it
    is possible.
    
    This also adds fuzz tests that cover the problem, if the change
    in the require statement in the system config contract is reverted,
    then the fuzz tests catch the `UNDEFINED` error quite quickly.
    8a15b68f
Name
Last commit
Last update
..
actor-tests Loading commit data...
atst Loading commit data...
balance-monitor Loading commit data...
chain-mon Loading commit data...
common-ts Loading commit data...
contracts Loading commit data...
contracts-bedrock Loading commit data...
contracts-periphery Loading commit data...
core-utils Loading commit data...
data-transport-layer Loading commit data...
fault-detector Loading commit data...
hardhat-deploy-config Loading commit data...
message-relayer Loading commit data...
migration-data Loading commit data...
replica-healthcheck Loading commit data...
sdk Loading commit data...