@@ -26,7 +26,8 @@ contract PythLazerTest is Test {
2626 address trustedSigner = 0xEfEf56cD66896f6799A90A4e4d512C330c094e44 ;
2727 vm.prank (address (1 ));
2828 pythLazer.updateTrustedSigner (trustedSigner, 3000000000000000 );
29- bytes memory update = hex "2a22999a577d3cc0202197939d736bc0dcf71b9dde7b9470e4d16fa8e2120c0787a1c0d744d0c39cc372af4d1ecf2d09e84160ca905f3f597d20e2eec144a446a0459ad600001c93c7d3750006240af373971c01010000000201000000000005f5e100 " ;
29+ bytes
30+ memory update = hex "2a22999a577d3cc0202197939d736bc0dcf71b9dde7b9470e4d16fa8e2120c0787a1c0d744d0c39cc372af4d1ecf2d09e84160ca905f3f597d20e2eec144a446a0459ad600001c93c7d3750006240af373971c01010000000201000000000005f5e100 " ;
3031
3132 uint256 fee = pythLazer.verification_fee ();
3233
@@ -37,12 +38,12 @@ contract PythLazerTest is Test {
3738
3839 // Alice provides appropriate fee
3940 vm.prank (alice);
40- pythLazer.verifyUpdate { value: fee }(update);
41+ pythLazer.verifyUpdate {value: fee}(update);
4142 assertEq (alice.balance, 1 ether - fee);
4243
4344 // Alice overpays and is refunded
4445 vm.prank (alice);
45- pythLazer.verifyUpdate { value: 0.5 ether }(update);
46+ pythLazer.verifyUpdate {value: 0.5 ether }(update);
4647 assertEq (alice.balance, 1 ether - fee - fee);
4748
4849 // Bob does not attach a fee
@@ -54,7 +55,7 @@ contract PythLazerTest is Test {
5455 // Bob does not attach enough fees
5556 vm.prank (bob);
5657 vm.expectRevert ("Insufficient fee provided " );
57- pythLazer.verifyUpdate { value: 1 wei }(update);
58+ pythLazer.verifyUpdate {value: 1 wei }(update);
5859 assertEq (bob.balance, 1 ether);
5960 }
6061}
0 commit comments