From 1dbeefcd6af5f22fabc00a3ab5af3b39e685d223 Mon Sep 17 00:00:00 2001 From: Wayne Date: Sat, 23 Dec 2023 10:07:36 -1000 Subject: [PATCH] test back --- test/QuestFactory.t.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/QuestFactory.t.sol b/test/QuestFactory.t.sol index 27c22611..db443d49 100644 --- a/test/QuestFactory.t.sol +++ b/test/QuestFactory.t.sol @@ -250,8 +250,8 @@ contract TestQuestFactory is Test, Errors, Events, TestUtils { bytes16 questId = hex'550e8400e29b41d4a716446655440000'; bytes32 txHash = hex'7e1975a6bf513022a8cc382a3cdb1e1dbcd58ebb1cb9abf11e64aadb21262516'; - uint16 txHashChainId = 1011; - string memory json = '{"actionTxHashes":["0x7e1975a6bf513022a8cc382a3cdb1e1dbcd58ebb1cb9abf11e64aadb21262516"],"actionNetworkChainIds":[1011],"questName":"questName","actionType":"actionType"}'; + uint32 txHashChainId = 7777777; + string memory json = '{"actionTxHashes":["0x7e1975a6bf513022a8cc382a3cdb1e1dbcd58ebb1cb9abf11e64aadb21262516"],"actionNetworkChainIds":[7777777],"questName":"questName","actionType":"actionType"}'; bytes memory signData = abi.encode(participant, referrer, "550e8400-e29b-41d4-a716-446655440000", json); bytes32 msgHash = keccak256(signData); bytes32 digest = ECDSA.toEthSignedMessageHash(msgHash);