argentlabs / argent-x

ArgentX browser extension for StarkNet - made with ❤️ by Argent
https://github.com/argentlabs/argent-x
Other
626 stars 273 forks source link

Execution error: Invalid transaction nonce of contract at address #2104

Open 0xDones opened 9 months ago

0xDones commented 9 months ago

I'm getting the following error when trying to submit a swap transaction.

Execution error: Invalid transaction nonce of contract at address ContractAddress(PatriciaKey(StarkFelt("0x02ff4ec5c0c71fd80dc56b85b51a4304b2fb940322aad121ceecd236731bad5a"))). Expected: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000002")); got: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000000")).

I think it's worth mentioning that I have a REVERTED transaction that is still being shown as pending on my wallet, which is a little bit annoying, I don't know if the issues are related.

TX: https://starkscan.co/tx/0x3d2f6b0bd6b5993008a138ee9a1499a8d5958dbf550de2efc4bd7edad9c4367

benpatterson1 commented 9 months ago

I see the same thing. A transaction stuck in the wallet stops all further transactions with that error message. Execution error: Invalid transaction nonce of contract at address ContractAddress(PatriciaKey(StarkFelt(

Aravinthrselva commented 9 months ago

Same Issue. Notification shows there's a pending transaction even though the prev txn is already thru

Expected: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000002")); got: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000000")).
me2again commented 9 months ago

Same issue, funds are locked can't move them.

Execution error: Invalid transaction nonce of contract at address ContractAddress(PatriciaKey(StarkFelt("="))). Expected: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000002")); got: Nonce(StarkFelt("0x0000000000000000000000000000000000000000000000000000000000000000")).

Dannyvanz commented 9 months ago

Same as above. Anyone found a solution?

0xDones commented 9 months ago

@benpatterson1 @Aravinthrselva @me2again @Dannyvanz please consider giving a 👍 to the issue so it can be easily filtered and prioritized.

sedatruhi commented 8 months ago

same issue {"execution error": "Invalid transaction nonce of contract at address ContractAddress (PatriciaKey (StarkFelt ""))). Account nonce: Nonce(StarkFelt(|"0x000000000000000000000000000000000000000 0000000000000000000000033"); got: Nonce (StarkFelt|"0×000000000000000000000000000000000000000 0000000000000000000000000|4))." "transaction index":o}

ronan5 commented 8 months ago

can you share your public address with me?

sedatruhi commented 8 months ago

i fixed it. thanks a lot

schnappyy commented 8 months ago

How did you resolve the issue?

sedatruhi commented 8 months ago

How did you resolve the issue?

First, I accessed my accounts with v5.5.2. I then pasted the v5.12.8 file onto v5.5.2. After closing and opening the browser, my accounts were still there. It even showed the amount of assets inside. But when I wanted to make a Transaction, I got the nonce problem again. Then I went to the manage extension section and pressed the update button for argent. and everything went back to normal.