casper-network / roadmap

Apache License 2.0
13 stars 2 forks source link

Create new transaction type enums and variants #181

Closed RitaMAllenCA closed 1 year ago

RitaMAllenCA commented 1 year ago

New Enums: Native, Wasm, Invocation, gas_model -- native: Mint(MintAction), Auction(AuctionAction). -- native contracts for the chain -- Wasm: standard, InstallerUpgrader. - the size of the wasm module bytes so storage can distinguish Installer/upgrader transactions (deploys) from subsequent invocation transactions (deploys). -- standard variant is a new size of module bytes that can be much smaller than installers/upgraders. -- install/upgrade variant is the current module byte size definition for installers/upgraders (large) -- invocation: ContractByName, ContractByHash -- gas_model (slot, price, ??). -- was gas_price