-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve: reduce errors in relayer tests #923
improve: reduce errors in relayer tests #923
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just want to double check that there are no functional changes here, and this is only a refactor. Is that the intention?
@@ -729,7 +728,10 @@ describe("Dataworker: Load data used in all functions", async function () { | |||
); | |||
const blockNumber = await spokePool_2.provider.getBlockNumber(); | |||
const blockTimestamp = (await spokePool_2.provider.getBlock(blockNumber)).timestamp; | |||
const realizedLpFeePctData = await hubPoolClient.computeRealizedLpFeePct(deposit1, l1Token_1.address); | |||
const realizedLpFeePctData = await hubPoolClient.computeRealizedLpFeePct( | |||
{ ...deposit1, blockNumber }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a functional change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is related to refactorings & slight rewrites to get the software to be able to compile with tsc.
Prior to this, we were having actual compiler errors due to signature incongruence on function/constructor calls.
@mrice32 resolving as we discussed offline. |
No description provided.