blast-gas-claim-patch.diff 837 B

12345678910111213141516171819202122232425
  1. diff --git a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
  2. index 6b08e386..aa34f117 100644
  3. --- a/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
  4. +++ b/target_chains/ethereum/contracts/contracts/pyth/Pyth.sol
  5. @@ -12,6 +12,10 @@ import "./PythGetters.sol";
  6. import "./PythSetters.sol";
  7. import "./PythInternalStructs.sol";
  8. +interface IBlast {
  9. + function configureClaimableGas() external;
  10. +}
  11. +
  12. abstract contract Pyth is
  13. PythGetters,
  14. PythSetters,
  15. @@ -722,4 +726,9 @@ abstract contract Pyth is
  16. function version() public pure returns (string memory) {
  17. return "1.4.3";
  18. }
  19. +
  20. + function configureClaimableGas() external {
  21. + IBlast(0x4300000000000000000000000000000000000002)
  22. + .configureClaimableGas();
  23. + }
  24. }