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
Describe the bug
Insufficient TestModeGas for register candidate
How much should we choose now? 20 is not enough for register(need 1000), but we'd like to prevent malicious attack. May be we could make it into settings file? Make it default as 20 but people are able to change it and use at their own risk.
We had a similar problem and decided to leave the default as is (15 for neo-go), when creating registration transaction we just add an appropriate amount of GAS without test-invoking via RPC.
We had a similar problem and decided to leave the default as is (15 for neo-go), when creating registration transaction we just add an appropriate amount of GAS without test-invoking via RPC.
I think we could add a param in config.json of neo-cli and using it in engine.run() like what we're doing in RpcServer: using ApplicationEngine engine = ApplicationEngine.Run(script, container: tx, gas: settings.MaxGasInvoke);
Describe the bug
Insufficient TestModeGas for register candidate
How much should we choose now? 20 is not enough for register(need 1000), but we'd like to prevent malicious attack. May be we could make it into settings file? Make it default as 20 but people are able to change it and use at their own risk.
@shargon @erikzhang
The text was updated successfully, but these errors were encountered: