diff --git a/src/config.go b/src/config.go index 5c80030..f01a2ce 100644 --- a/src/config.go +++ b/src/config.go @@ -154,6 +154,6 @@ type ProverInputsConfig struct { type GeneratorConfig struct { StorePreflightData *bool `key:"store-preflight-data" env:"STORE_PREFLIGHT_DATA" flag:"store-preflight-data" desc:"Store intermediate preflight data when generating prover inputs"` - IncludeExtensions *steps.Include `key:"include" env:"INCLUDE_EXTENSIONS" desc:"Optionnal extended data to include in the generated Prover Input (e.g. accessList, preState, stateDiffs, committed, all)"` + IncludeExtensions *steps.Include `key:"include" env:"INCLUDE_EXTENSIONS" desc:"Optional extended data to include in the generated Prover Input (e.g. accessList, preState, stateDiffs, committed, all)"` FilterModulo *uint64 `key:"filter-modulo" env:"FILTER_MODULO" flag:"filter-modulo" desc:"Generate prover input for blocks which number is divisible by the given modulo"` } diff --git a/src/config_test.go b/src/config_test.go index 17706e7..0559cf1 100644 --- a/src/config_test.go +++ b/src/config_test.go @@ -276,7 +276,7 @@ func TestFlagsUsage(t *testing.T) { --chain-rpc-url string Chain JSON-RPC URL [env: CHAIN_RPC_URL] -c, --config strings [env: CONFIG] (default [config.yaml,config.yml]) --generator-filter-modulo uint Generate prover input for blocks which number is divisible by the given modulo [env: GENERATOR_FILTER_MODULO] (default 5) - --generator-includeextensions string Optionnal extended data to include in the generated Prover Input (e.g. accessList [env: GENERATOR_INCLUDE_EXTENSIONS] (default "none") + --generator-includeextensions string Optional extended data to include in the generated Prover Input (e.g. accessList [env: GENERATOR_INCLUDE_EXTENSIONS] (default "none") --generator-store-preflight-data Store intermediate preflight data when generating prover inputs [env: GENERATOR_STORE_PREFLIGHT_DATA] --healthz-ep-addr string healthz entrypoint: TCP Address to listen on [env: HEALTHZ_EP_ADDR] (default ":8081") --healthz-ep-http-idle-timeout string healthz entrypoint: Maximum duration to wait for the next request when keep-alives are enabled (zero uses the value of read timeout) [env: HEALTHZ_EP_HTTP_IDLE_TIMEOUT] (default "30s") diff --git a/src/prover-input/input.go b/src/prover-input/input.go index fdef10b..6650d66 100644 --- a/src/prover-input/input.go +++ b/src/prover-input/input.go @@ -128,7 +128,7 @@ func (e *Extra) UnmarshalJSON(b []byte) error { type StateDiff struct { Address gethcommon.Address `json:"address"` // Address of the account that has changed PreAccount *Account `json:"preAccount,omitempty"` // Pre-state account, nil if the account if the account was created - PostAccount *Account `json:"postAccount,omitempty"` // Post-state account, nil if the account was desctructed + PostAccount *Account `json:"postAccount,omitempty"` // Post-state account, nil if the account was destructed Storage []*StorageDiff `json:"storage,omitempty"` // Storage diffs for the account }