Closed hujw77 closed 2 years ago
Gas: -225244 ~37%
assignedRelayersNumber
Order
OrderExt
Fix #133 Fix #144 Related #147
@HackFisher @xiaoch05 Any more suggestions for gas saving ?
Set threhold to 22, and MIN_SUPPORT to 28 ether (120000000/2**22 = 28.6)
22
28 ether
https://dashboard.tenderly.co/tx/bsc-testnet/0x2cbeb1ca819bc3dbb80bb318bed1f74b91d94b604f625163916c602bdef78aec/gas-usage
https://dashboard.tenderly.co/tx/bsc-testnet/0xc1e2858eb79929b1806987e0cb6c068e335e58533f16340d7c98d8ed54a3aa68/gas-usage
Gas Used: -122058 ~20%
BEEFY light client
Before
After
Diff
Gas: -225244 ~37%
Simple Fee Market
assignedRelayersNumber
from N to 1.Order
andOrderExt
toOrder
.Message layer
Issues
Fix #133 Fix #144 Related #147