Git Product home page Git Product logo

Comments (5)

arthcp avatar arthcp commented on August 11, 2024

Another flaw is that we rely on runtime gas price for source chain, fee estimate for people sending high gas tx will be more than others. This is not specific to arb and opt.

from socket-dl.

arthcp avatar arthcp commented on August 11, 2024

The run time source fee issue is fixed by reading source gas price from oracle instead.

from socket-dl.

arthcp avatar arthcp commented on August 11, 2024

Arbitrum thoughts

  • We need an oracle to update the gas limits for protocol actions.
  • Destination msgGasLimit that plugs provide still stays unfixed. Either plugs too need to maintain oracle for this or we change the fee model somehow.

from socket-dl.

arthcp avatar arthcp commented on August 11, 2024

Optimism thoughts

  • They have 2 components of L1 and L2 fees.
  • Our current implementation accounts for L2 fees and completely ignores L1 fee component.
  • For seal, propose and attest L1 fee can be collected by bumping the gas price since calldata size is fixed.
  • For execute the L1 fee will depend on payload size and just gas price bumping will not be enough.

from socket-dl.

arthcp avatar arthcp commented on August 11, 2024

Changed the flow to set only total expected fees on chain for each actor.
All complexity and nuance handling needs to be done off chain.

from socket-dl.

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.