Skip to content

Commit

Permalink
fix: update redstone contract address (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
amateima authored Sep 9, 2024
1 parent 4567265 commit 567c34d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/modules/configuration/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ export const configValues = () => ({
],
[ChainIds.redstone]: [
{
address: "0x28077B47Cd03326De7838926A63699849DD4fa87",
startBlockNumber: 5158526,
address: "0x13fDac9F9b4777705db45291bbFF3c972c6d1d97",
startBlockNumber: 5512122,
abi: JSON.stringify(SpokePoolV3Abi),
acrossVersion: AcrossContractsVersion.V3,
firstDepositId: 1,
Expand Down
7 changes: 5 additions & 2 deletions test/deposit.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ describe("GET /deposits/tx-page", () => {
});

it("200 without query params", async () => {
const response = await request(app.getHttpServer()).get("/deposits/tx-page");
const response = await request(app.getHttpServer()).get("/deposits/tx-page").query({include: ["token"]});
expect(response.status).toBe(200);
expect(response.body.deposits).toHaveLength(4);
});
Expand All @@ -496,6 +496,7 @@ describe("GET /deposits/tx-page", () => {

const response = await request(app.getHttpServer()).get("/deposits/tx-page").query({
depositorOrRecipientAddress: depositorAddr,
include: ["token"],
});
expect(response.status).toBe(200);
expect(response.body.deposits).toHaveLength(2);
Expand All @@ -514,7 +515,9 @@ describe("GET /deposits/tx-page", () => {
});

it("200 for 'status' query params", async () => {
const response = await request(app.getHttpServer()).get("/deposits/tx-page").query({ status: "filled" });
const response = await request(app.getHttpServer())
.get("/deposits/tx-page")
.query({ status: "filled", include: ["token"] });
expect(response.status).toBe(200);
expect(response.body.deposits).toHaveLength(2);
});
Expand Down

0 comments on commit 567c34d

Please sign in to comment.