From ba7f46742d1dda61978c12527d4092bb65503546 Mon Sep 17 00:00:00 2001 From: imsk17 Date: Thu, 19 Dec 2024 13:10:04 +0530 Subject: [PATCH 1/2] feat(staking): new staking contract --- src/config.ts | 2 +- validator.db-journal | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 validator.db-journal diff --git a/src/config.ts b/src/config.ts index 79a60449..665ddb86 100644 --- a/src/config.ts +++ b/src/config.ts @@ -198,7 +198,7 @@ export const stakingTestChain: IStakingConfig = { nativeCoinSymbol: "sFUEL", chainType: "evm", coinAddress: "0x491f505AbD292372f7D9a8C6B12d3a8d3894C8b6", - contractAddress: "0x2b4082b5cBe5958888d68985524939ec1c871007", + contractAddress: "0x94Fa17B47397cD2d7D58B467Dd9aC5Ad7C5D8c7d", intialFund: "0", lastBlock: 2209753, decimals: 18, diff --git a/validator.db-journal b/validator.db-journal deleted file mode 100644 index e69de29b..00000000 From 82b0cb49e9c6cc348d55d8f03b5f09ec149e2037 Mon Sep 17 00:00:00 2001 From: imsk17 Date: Thu, 19 Dec 2024 15:30:33 +0530 Subject: [PATCH 2/2] fix(near): use vid as publickey --- src/handler/chains/near/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/chains/near/handler.ts b/src/handler/chains/near/handler.ts index e994aad1..6a9cc29c 100644 --- a/src/handler/chains/near/handler.ts +++ b/src/handler/chains/near/handler.ts @@ -63,7 +63,7 @@ export async function nearHandler({ const account = await provider.account(address); release(); return { - publicKey: publicKeyInHex, + publicKey: `${address}|${publicKeyInHex}`, pollForLockEvents: async (_, cb, cbLe) => { serverLinkHandler ? pollForLockEvents(chainIdent, cbLe, cb, em, serverLinkHandler, logger)