telosnetwork / leap

C++ implementation of the Antelope protocol
Other
0 stars 0 forks source link

Swap in place #12

Closed guilledk closed 1 year ago

guilledk commented 1 year ago

This improves performance of subst_plugin by dropping all custom execution machinery and just swapping the wasms in place on the internal nodeos database, also adds a way to only enable a substitution after a certain block range.

New optional format is:

subst-by-name = {account name}-{from block number}:{path to wasm} subst-by-hash = {code hash}-{from block number}:{path to wasm}

Inside substitution manifest this new feature is also valid.

Closes #8 Closes #10