diff --git a/backend/CHANGELOG.md b/backend/CHANGELOG.md index 8f34e86..6c4e729 100644 --- a/backend/CHANGELOG.md +++ b/backend/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## [3.1.2] - 2025-02-28 +### Fixes +- Fixed invalid address error on cronJob + ## [3.1.1] - 2025-02-14 ### Fixes - Fixed return type of paymasterVerificationGasLimit diff --git a/backend/package.json b/backend/package.json index a8d3f48..a9a88f4 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "arka", - "version": "3.1.1", + "version": "3.1.2", "description": "ARKA - (Albanian for Cashier's case) is the first open source Paymaster as a service software", "type": "module", "directories": { diff --git a/backend/src/repository/multi-token-paymaster.ts b/backend/src/repository/multi-token-paymaster.ts index bc806a5..e6957a4 100644 --- a/backend/src/repository/multi-token-paymaster.ts +++ b/backend/src/repository/multi-token-paymaster.ts @@ -39,7 +39,7 @@ export class MultiTokenPaymasterRepository { async getAllDistinctPaymasterAddrWithChainId(): Promise { const result = await this.sequelize.models.MultiTokenPaymaster.findAll({ - attributes: [[Sequelize.fn('DISTINCT', Sequelize.col('PAYMASTER_ADDRESS')), 'PAYMASTER_ADDRESS'], 'chainId'], + attributes: [[Sequelize.fn('DISTINCT', Sequelize.col('PAYMASTER_ADDRESS')), 'paymasterAddress'], 'chainId'], }); return result.map(id => id.get() as MultiTokenPaymaster); }