pyth-crosschain/target_chains/ethereum/contracts/forge-test
Ali Behjati f94dceb1bc
[eth] Add Pyth Accumulator (#776)
This PR adds the support WormholeMerkle accumulator message to the ethereum contract while still supporting the old message format. The code is not optimized yet and with more optimizations we can achieve a better gas usage. Currently based on the gas benchmark below it has a 18% improvement with a single price feed. Although the cost of updating 5 feeds in the same batch is higher than the current approach but in reality the chances that all 5 feeds be in the same batch is very low.
2023-05-03 16:08:53 +02:00
..
utils [eth] Add Pyth Accumulator (#776) 2023-05-03 16:08:53 +02:00
GasBenchmark.t.sol [eth] Add Pyth Accumulator (#776) 2023-05-03 16:08:53 +02:00
Pyth.WormholeMerkleAccumulator.t.sol [eth] Add Pyth Accumulator (#776) 2023-05-03 16:08:53 +02:00
Pyth.t.sol [eth] Add Pyth Accumulator (#776) 2023-05-03 16:08:53 +02:00
VerificationExperiments.t.sol [eth] Add Pyth Accumulator (#776) 2023-05-03 16:08:53 +02:00