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
The opcodes basefee, gasprice and gaslimits needs some research first: In Substrate we have 2D weights; also our ref time dimension does not translate 1:1 to EVM gas. Note: Frontier and ETH L2 implementation already thought about this.
Once we figured a consistent solution, contract calls should no longer ignore the supplied gas limit.
Also the GASopcode needs to be changed to call into the pallet (currently it uses a hard coded value). Change the weight_left syscall to reftime_left for that. It should just return ref time in the output register.
The opcodes
basefee
,gasprice
andgaslimits
needs some research first: In Substrate we have 2D weights; also ourref time
dimension does not translate 1:1 to EVM gas. Note: Frontier and ETH L2 implementation already thought about this.Once we figured a consistent solution, contract calls should no longer ignore the supplied gas limit.
The text was updated successfully, but these errors were encountered: