Skip to content

Commit

Permalink
squash! fix(ProofcastEventAttestator): return plain signature
Browse files Browse the repository at this point in the history
  • Loading branch information
gitmp01 committed Oct 30, 2024
1 parent 509d04c commit d5e2ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions solidity/test/hardhat/Adapter.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,9 @@ const deployERC1820 = () => setCode(ERC1820, ERC1820BYTES)
PAM,
recipient,
erc20,
pTokenV2,
adapter,
lockbox,
eventAttestator,
feesManager,
} = await loadFixture(setup)

const nonce = 0
Expand All @@ -258,7 +256,7 @@ const deployERC1820 = () => setCode(ERC1820, ERC1820BYTES)

const metadata = [
eventAttestator.getEventPreImage(event),
eventAttestator.sign(event),
eventAttestator.formatEvmSignature(eventAttestator.sign(event)),
]

const decodedEvent = decodeSwapEvent(event.data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ conditionalDescribe(

swapMetadata = [
eventAttestator.getEventPreImage(swapEvent),
eventAttestator.sign(swapEvent),
eventAttestator.formatEvmSignature(eventAttestator.sign(swapEvent)),
]

const decodedEvent = decodeSwapEvent(swapEvent.data)
Expand Down

0 comments on commit d5e2ed4

Please sign in to comment.