Content
@
0 reply
0 recast
2 reactions
avi
@avichalp
what is this magic?
6 replies
0 recast
13 reactions
maurelian
@maurelian.eth
This is a Safe call? Is the decompression done in a module?
1 reply
0 recast
1 reaction
vrypan |--o--|
@vrypan.eth
I guess instead of storing 00000000000000000000 you store 20 0. Many compression algorithms work like this (this is the simplest possible version, you can identify relating patterns and store a dict and their index, etc.)
2 replies
0 recast
4 reactions
datadanne
@datadanne.eth
🤯
0 reply
0 recast
1 reaction
Z
@zees
One way to reduce call data or data size in general is to abi.encodePacked. You do need to know the types to decode though. Solidity assembly could help here too
0 reply
0 recast
1 reaction
pradeepbv.eth
@pradeepbv.eth
Love this. Along with calldata compression there are few more magic tricks in the works to reduce txn costs. https://www.biconomy.io/post/reducing-gas-fees-on-l2-roll-ups
0 reply
0 recast
1 reaction
Daikie.eth 🎩
@daikie
If it works, dont touch it 🫡
0 reply
0 recast
0 reaction