Comments (5)
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.
The run time source fee issue is fixed by reading source gas price from oracle instead.
from socket-dl.
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.
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.
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)
- `SafeTransferLib` isn't used
- `addPackedMessage` can be optimized
- Wrong data type for packetId in Signature Verifier HOT 1
- Add support for invalid packet recovery HOT 5
- Capacitor Address validation at destination HOT 2
- Potential signature replay in `SignatureVerifierLib.recoverSignerFromDigest()` HOT 3
- Summoning the Socket Optimizoors (Yul optimizations in confined snippets / libraries)
- Merge Decapacitor into Capacitor or make it a library HOT 1
- Behavior on unknown chainslug HOT 5
- Explore the ability to implement 5164 as a PLug HOT 2
- Audit checklist HOT 1
- Path validation on destination HOT 1
- Msg Gas Limit at inbound() HOT 1
- Do an Aevo testnet deployment
- Connection helper Plug HOT 1
- Create a depositTransaction plug
- CCTP Switchboard
- Add support for ERC-3668
- Routing Bungee Exchange HOT 1
- Bug: Dead link on Test not opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket-dl.