Skip to content
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

Deprecate /transaction-confirmation endpoint #1973

Merged
merged 11 commits into from
Oct 8, 2024
2 changes: 1 addition & 1 deletion src/config/entities/__tests__/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export default (): ReturnType<typeof configuration> => ({
42161: faker.internet.url({ appendSlash: false }),
11155111: faker.internet.url({ appendSlash: false }),
},
explorerBaseUri: faker.internet.url(),
explorerBaseUri: faker.internet.url({ appendSlash: true }),
restrictApps: false,
allowedApps: [],
maxNumberOfParts: faker.number.int(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export class KilnDecoder extends AbiDecoder<typeof KilnAbi> {
super(KilnAbi);
}

// TODO: When confirmation view endpoint is removed, remove this
// and use this.helpers.isDeposit instead
decodeDeposit(
data: `0x${string}`,
): { method: string; parameters: [] } | null {
Expand All @@ -50,6 +52,8 @@ export class KilnDecoder extends AbiDecoder<typeof KilnAbi> {
}
}

// TODO: When confirmation view endpoint is removed, return only
// publicKeys and don't format it like DataDecoded
decodeValidatorsExit(data: `0x${string}`): {
method: string;
parameters: KilnRequestValidatorsExitParameters[];
Expand Down Expand Up @@ -79,6 +83,8 @@ export class KilnDecoder extends AbiDecoder<typeof KilnAbi> {
}
}

// TODO: When confirmation view endpoint is removed, return only
// publicKeys and don't format it like DataDecoded
decodeBatchWithdrawCLFee(data: `0x${string}`): {
method: string;
parameters: KilnBatchWithdrawCLFeeParameters[];
Expand Down
Loading