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
Original idea was to restructure the existing deploy, however, we will keep existing deploy type and create a new "transaction" type. We will deprecate the existing deploy in 2.0, remove the deprecated deploy in 3.0
Requirements:
New type: enum transactionKind which contains a set of enums (Native, NativeTransaction. This new type will then be the union of these new enums:
New Enums: Native, Userland, PricingMode
-- native: enum NativeTransaction (MintTransfer(RunTimeArgs), Auction(enum AuctionTransaction(AddBid(RunTimeArgs))) ReservationIRunTimeArgs)). -- native contracts for the chain, was session
-- Userland: enum UserlandTransaction( Noop, Closed??-- like a pure function i.e. can't call a contract, Installers/Upgraders -- called out so we can allow more space (via module_bytes), DirectCall , standard
-- 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)
-- no more stored sessions
-- DirectCall: StoredContract, ContractByName, ContractByHash // all 4 types.... all 4 channelled in one channel
-- PricingMode: (enum slot, price, ??). -- was gas_price
deploys that do not follow a supported gas_model will not be accepted.
No dependencies field
session changing to new enum
channels defined in chainspec: channel_name - map "kind" to "lane"; types and number per block (allows us to manage block sizes, e.g. how many total installerupgraders, etc)
// prepaid reservations would be the first channel to draw transactions from; calls new native escrow procedure
Reorganize any other existing ExecutableDeployItem fields into the appropriate enum or in the transaction.
The text was updated successfully, but these errors were encountered:
Original idea was to restructure the existing deploy, however, we will keep existing deploy type and create a new "transaction" type. We will deprecate the existing deploy in 2.0, remove the deprecated deploy in 3.0
Requirements:
New type: enum transactionKind which contains a set of enums (Native, NativeTransaction. This new type will then be the union of these new enums:
New Enums: Native, Userland, PricingMode
-- native: enum NativeTransaction (MintTransfer(RunTimeArgs), Auction(enum AuctionTransaction(AddBid(RunTimeArgs))) ReservationIRunTimeArgs)). -- native contracts for the chain, was session
-- Userland: enum UserlandTransaction( Noop, Closed??-- like a pure function i.e. can't call a contract, Installers/Upgraders -- called out so we can allow more space (via module_bytes), DirectCall , standard
-- 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)
-- no more stored sessions
-- DirectCall: StoredContract, ContractByName, ContractByHash // all 4 types.... all 4 channelled in one channel
-- PricingMode: (enum slot, price, ??). -- was gas_price
deploys that do not follow a supported gas_model will not be accepted.
No dependencies field
session changing to new enum
channels defined in chainspec: channel_name - map "kind" to "lane"; types and number per block (allows us to manage block sizes, e.g. how many total installerupgraders, etc)
// prepaid reservations would be the first channel to draw transactions from; calls new native escrow procedure
Reorganize any other existing ExecutableDeployItem fields into the appropriate enum or in the transaction.
The text was updated successfully, but these errors were encountered: