Closed icebergtsn closed 1 year ago
When I use 09C7652400 instead of 9C7652400, the signature is successful and I get the correct result. This problem is also true for other gasPrices. Is there any plan to modify this problem, or how should I correctly regulate the gasPrice? Are there any other parameters that need attention?
I also found a similar answer in the historical issue #959 #973
How do I login to view my balance
How do I login to view my balance
Although I can't understand why you replied under this issue, but do you want to know what assets are in your address? If so, you can use web3.js or ethers.js to follow the rpc documentation for queries.
The problem is that Buffer
truncates improperly (especially for a number):
╰─$ node
Welcome to Node.js v16.15.1.
Type ".help" for more information.
> var b = Buffer.from('12a05f200', 'hex')
> b
<Buffer 12 a0 5f 20>
> var c = Buffer.from('012a05f200', 'hex')
> c
<Buffer 01 2a 05 f2 00>
You better to have some helper to pad it if needed
HexCoding
handles it correctly btw
HexCoding
handles it correctly btw
Thanks, I'll try it, the code I wrote is found in the test file.
Hey am sorry I just don't know what wrong with my wife been Sick I need to get some money out and do some things
Describe the bug I have a bug in signing on Ethereum, when I use 3b9aca00 as gasPrice there is no problem, but 5 times 12a05f200 has a bug.
To Reproduce testBSC4 = async () => {
} }
Expected behavior Changing the price does not affect the signature result, but I am not sure under what circumstances the gasPrice will be affected
Screenshots
现在改变gasPrice为12a05f200
signTx is error
Additional context macOS 12.6