Giter Site home page Giter Site logo

Comments (2)

MoonLabsDev avatar MoonLabsDev commented on September 4, 2024

happens on alot of transactions that all work on the same state when blockchain is congested. for example these hashes:

https://explorer.evm.testnet.shimmer.network/tx/0xbe139dee4bd89481a27ffcec68d4e4c7d82f7dae0bbd95357176c8ad8d928794
https://explorer.evm.testnet.shimmer.network/tx/0x89abd4657cc3861fdd51b4712c6217e1b1162bd5da117268f6ad65d4a6eb64d5
https://explorer.evm.testnet.shimmer.network/tx/0xf2757b89d87d39575df411be241759903f720d4005bb48b74924b6da3433ab82
https://explorer.evm.testnet.shimmer.network/tx/0x19ad23cca6909336ead80f6b4f12e89d0ec79d24323556ccf37bc652ea9ede87

They all want to execute a function on a contract with a counter that increments. Tx 1-3 all have negative gas, all show up as successful on explorer, but actually reverted. tx4 is successfull and has correct gas. All generated events actually show the same counter value and no actual reason to fail.

Maybe they all worked on the same input state and all were successfull but consensus came to the conclusion that only 1 thing can be true and choose the last one and reverted the others, marked them as failed because of inconstistent state? there are over 713 similar cases that the IOTA Heroes Team found.

If there are multiple transactions over multiple block that work on the same state, the last transaction is successfull and all others have the described negative gas, reverted but show as success.

IF they are in the same block, then the first Tx is sucessfull and the others have negative gas, show sucess, but actually reverted.

from wasp.

jorgemmsilva avatar jorgemmsilva commented on September 4, 2024

#2525 should fix this. Let's re-open if the issue persists after the upcoming release

from wasp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.