Orange-Wallet / wallet-connect-dart

Wallet Connect client in Dart.
https://pub.dev/packages/wallet_connect
BSD 3-Clause "New" or "Revised" License
115 stars 77 forks source link

Gas should be nullable #3

Closed LiorAgnin closed 2 years ago

LiorAgnin commented 2 years ago

Hi @thelazyindian, Awesome implementation for flutter Thanks for that! I received an error while trying to execute a certain transaction that hasn't contained gas, here’s the data I received: { "jsonrpc": "2.0", "method": "eth_sendTransaction", "params": [ { "from": "0x862bd4208b2f6ed64ce92aada2669d3c5cc705d9", "to": "0xcdd8964ba8963929867caffcf5942de4f085bfb7", "gasPrice": "0x3b9aca00", "data": "0x095ea7b3000000000000000000000000076bdea1fd4695bdef9ba4579463bc4b3c97d64500000000000000000000000000000000000000000000000013ae155e0b074c84" } ] }

I've added the nullable option for the gas property.

saurabhprasadsah commented 2 years ago

Awesome implementation

saurabhprasadsah commented 2 years ago

okay