diff --git a/test/onChain/testBaseSepolia.sol b/test/onChain/testBaseSepolia.sol index 77ad9ba..6b66c5b 100644 --- a/test/onChain/testBaseSepolia.sol +++ b/test/onChain/testBaseSepolia.sol @@ -21,25 +21,19 @@ contract TestBaseSepolia is Test { // Set up the state required for the test (if needed) // For example, simulate a user address uint256 balanceBefore = utilityToken.balanceOf(0x588A7E62547CB573084C8608486d60E567c573d0); - + address sender = 0x588A7E62547CB573084C8608486d60E567c573d0; uint256 amount = 2000000000000000000; bytes32 nonce = bytes32(0x45a6cd4929f515c60c82473f16bc1fad9e8b95c04e18e76c7dfc9a6548cb5b60); uint256 timestamp = 1727871292; - bytes memory signature = hex"bc9dd8b708b7ad5dd8dd68e422cd6b44ac6f6aebeabad4c1e52a1942e267c3af36e5d9aafff7fd8657444991613de3276a308bc858cc8e91e28f58142ff34faa1b"; + bytes memory signature = + hex"bc9dd8b708b7ad5dd8dd68e422cd6b44ac6f6aebeabad4c1e52a1942e267c3af36e5d9aafff7fd8657444991613de3276a308bc858cc8e91e28f58142ff34faa1b"; address exchanger = 0x5aB0ffF1a51ee78F67247ac0B90C8c1f1f54c37F; vm.startPrank(exchanger); - // Call the exchange function - votingPowerExchange.exchange( - sender, - amount, - nonce, - timestamp, - signature - ); + votingPowerExchange.exchange(sender, amount, nonce, timestamp, signature); vm.stopPrank(); // Make assertions to verify the results