diff --git a/package-lock.json b/package-lock.json index 1f3b7c1d1..7d6524f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "@fastify/type-provider-typebox": "5.2.0", "@sinclair/typebox": "0.34.48", "@stacks/api-toolkit": "1.13.0", - "@stacks/codec": "2.0.0-pox5.2", + "@stacks/codec": "2.0.0-pox5.3", "@stacks/common": "7.3.1", "@stacks/encryption": "7.4.0", "@stacks/network": "7.3.1", @@ -1699,9 +1699,9 @@ "license": "MIT" }, "node_modules/@stacks/codec": { - "version": "2.0.0-pox5.2", - "resolved": "https://registry.npmjs.org/@stacks/codec/-/codec-2.0.0-pox5.2.tgz", - "integrity": "sha512-nFztqavC/Gsv0FAsS74GJalK7WNmfslEmiHhwzCpaW8St9Nwd25bxz2VJ4LwYEo7V9WMvNr41k29CUn3Y7XnSQ==", + "version": "2.0.0-pox5.3", + "resolved": "https://registry.npmjs.org/@stacks/codec/-/codec-2.0.0-pox5.3.tgz", + "integrity": "sha512-uwZ5geY81huwEJu4MlDHL041Prrggcz2nR8Bm5iKOi8xbi52kCTwKpGl7s7kkFqqOHlfQYYqEfD+Civspj1org==", "license": "GPL-3.0", "dependencies": { "@types/node": "^24.0.0", diff --git a/package.json b/package.json index 5943dfb39..f9b839e93 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "@fastify/type-provider-typebox": "5.2.0", "@sinclair/typebox": "0.34.48", "@stacks/api-toolkit": "1.13.0", - "@stacks/codec": "2.0.0-pox5.2", + "@stacks/codec": "2.0.0-pox5.3", "@stacks/common": "7.3.1", "@stacks/encryption": "7.4.0", "@stacks/network": "7.3.1", diff --git a/src/datastore/pg-write-store.ts b/src/datastore/pg-write-store.ts index 2b46d64e8..4c7fc766f 100644 --- a/src/datastore/pg-write-store.ts +++ b/src/datastore/pg-write-store.ts @@ -580,6 +580,8 @@ export class PgWriteStore extends PgStore { await this.updateBondRewardDistribution(sql, txLocation, poxEvent); break; case Pox5EventName.ClaimRewards: + case Pox5EventName.ClaimStakerRewardsForSigner: + // TODO: Implement break; case Pox5EventName.Stake: case Pox5EventName.StakeUpdate: @@ -589,6 +591,11 @@ export class PgWriteStore extends PgStore { // TODO: Implement break; case Pox5EventName.RegisterSigner: + case Pox5EventName.AllowContractCaller: + case Pox5EventName.DisallowContractCaller: + case Pox5EventName.GrantSignerKey: + case Pox5EventName.RevokeSignerGrant: + case Pox5EventName.SetBondAdmin: // TODO: Implement break; } @@ -609,7 +616,7 @@ export class PgWriteStore extends PgStore { stx_value_ratio: parseInt(event.data.stx_value_ratio), min_ustx_ratio: parseInt(event.data.min_ustx_ratio), early_unlock_bytes: event.data.early_unlock_bytes, - early_unlock_admin: event.data.early_unlock_admin, + early_unlock_admin: '', // TODO: Make nullable first_reward_cycle: parseInt(event.data.first_reward_cycle), bond_start_height: parseInt(event.data.bond_start_height), unlock_cycle: parseInt(event.data.unlock_cycle),