fix: account service duplication fix and entrypoint abi update

This commit is contained in:
moebius
2025-03-28 12:41:23 +01:00
parent 7a7550b277
commit ac43d52244
2 changed files with 20 additions and 20 deletions

View File

@@ -85,9 +85,9 @@ export const IEntrypointABI = [
"internalType": "uint256"
},
{
"name": "ipfsHash",
"type": "bytes32",
"internalType": "bytes32"
"name": "ipfsCID",
"type": "string",
"internalType": "string"
},
{
"name": "timestamp",
@@ -484,9 +484,9 @@ export const IEntrypointABI = [
"internalType": "uint256"
},
{
"name": "_ipfsHash",
"type": "bytes32",
"internalType": "bytes32"
"name": "_ipfsCID",
"type": "string",
"internalType": "string"
}
],
"outputs": [
@@ -802,10 +802,10 @@ export const IEntrypointABI = [
"internalType": "uint256"
},
{
"name": "_ipfsHash",
"type": "bytes32",
"name": "_ipfsCID",
"type": "string",
"indexed": false,
"internalType": "bytes32"
"internalType": "string"
},
{
"name": "_timestamp",
@@ -924,11 +924,6 @@ export const IEntrypointABI = [
"name": "ERC1967NonPayable",
"inputs": []
},
{
"type": "error",
"name": "EmptyIPFSHash",
"inputs": []
},
{
"type": "error",
"name": "EmptyRoot",
@@ -949,6 +944,11 @@ export const IEntrypointABI = [
"name": "InvalidFeeBPS",
"inputs": []
},
{
"type": "error",
"name": "InvalidIPFSCIDLength",
"inputs": []
},
{
"type": "error",
"name": "InvalidIndex",
@@ -1055,5 +1055,5 @@ export const IEntrypointABI = [
"type": "error",
"name": "ZeroAddress",
"inputs": []
},
}
] as const;

View File

@@ -550,12 +550,12 @@ export class AccountService {
this.logger.info(
`Found ${foundDeposits.length} deposits for pool ${pool.address}`,
);
// Process withdrawals and ragequits for all pools
// This is done after all deposits are processed to ensure we have the complete account state
await this._processWithdrawalsAndRagequits(pools);
}),
})
);
// Process withdrawals and ragequits for all pools
// This is done after all deposits are processed to ensure we have the complete account state
await this._processWithdrawalsAndRagequits(pools);
}
/**