@pimlico/alto 0.0.0-main.20250716T135636 → 0.0.0-main.20250716T144817
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/EIP712.sol/EIP712.json +1 -1
- package/contracts/Eip7702Support.sol/Eip7702Support.json +1 -1
- package/contracts/EntryPoint.sol/EntryPoint.json +1 -1
- package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride06.json +1 -1
- package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride07.json +1 -1
- package/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride08.json +1 -1
- package/contracts/EntryPointGasEstimationOverride.sol/EntryPointGasEstimationOverride06.json +1 -1
- package/contracts/EntryPointSimulations.sol/EntryPointSimulations07.json +1 -1
- package/contracts/EntryPointSimulations.sol/EntryPointSimulations08.json +1 -1
- package/contracts/IERC5267.sol/IERC5267.json +1 -1
- package/contracts/IEntryPointSimulations.sol/IEntryPointSimulations.json +1 -1
- package/contracts/Math.sol/Math.json +1 -1
- package/contracts/MessageHashUtils.sol/MessageHashUtils.json +1 -1
- package/contracts/Panic.sol/Panic.json +1 -1
- package/contracts/PimlicoSimulations.sol/PimlicoSimulations.json +1 -1
- package/contracts/ReentrancyGuard.sol/ReentrancyGuard.json +1 -1
- package/contracts/ReentrancyGuardTransient.sol/ReentrancyGuardTransient.json +1 -1
- package/contracts/SafeCast.sol/SafeCast.json +1 -1
- package/contracts/SenderCreator.sol/SenderCreator.json +1 -1
- package/contracts/ShortStrings.sol/ShortStrings.json +1 -1
- package/contracts/SignedMath.sol/SignedMath.json +1 -1
- package/contracts/SimulationOverrideHelper.sol/SimulationOverrideHelper.json +1 -0
- package/contracts/StakeManager.sol/StakeManager.json +1 -1
- package/contracts/StorageSlot.sol/StorageSlot.json +1 -1
- package/contracts/Strings.sol/Strings.json +1 -1
- package/contracts/TransientSlot.sol/TransientSlot.json +1 -1
- package/contracts/UserOperationLib.sol/UserOperationLib.json +1 -1
- package/contracts/build-info/006aa55b425148d5.json +1 -0
- package/contracts/build-info/{880955d5786bfdae.json → 7112d1913b854416.json} +1 -1
- package/contracts/utils/StorageSlot.sol/StorageSlot.json +1 -0
- package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride06.json +1 -1
- package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride07.json +1 -1
- package/esm/contracts/EntryPointFilterOpsOverride.sol/EntryPointFilterOpsOverride08.json +1 -1
- package/esm/contracts/EntryPointGasEstimationOverride.sol/EntryPointGasEstimationOverride06.json +1 -1
- package/esm/contracts/EntryPointSimulations.sol/EntryPointSimulations07.json +1 -1
- package/esm/contracts/EntryPointSimulations.sol/EntryPointSimulations08.json +1 -1
- package/esm/contracts/PimlicoSimulations.sol/PimlicoSimulations.json +1 -1
- package/esm/utils/entryPointOverrides.js +11 -4
- package/esm/utils/entryPointOverrides.js.map +1 -1
- package/package.json +1 -1
- package/contracts/build-info/7710b5a048396e70.json +0 -1
|
@@ -21,8 +21,11 @@ export const getSenderCreatorOverride = (entryPoint) => {
|
|
|
21
21
|
};
|
|
22
22
|
export const getFilterOpsStateOverride = ({ version, entryPoint, baseFeePerGas }) => {
|
|
23
23
|
const senderCreatorOverride = getSenderCreatorOverride(entryPoint);
|
|
24
|
-
const
|
|
25
|
-
const
|
|
24
|
+
const baseFeeSlot = keccak256(toHex("BLOCK_BASE_FEE_PER_GAS"));
|
|
25
|
+
const baseFeeValue = toHex(baseFeePerGas, { size: 32 });
|
|
26
|
+
// Get current timestamp in seconds (block.timestamp is in seconds)
|
|
27
|
+
const timestampSlot = keccak256(toHex("BLOCK_TIMESTAMP"));
|
|
28
|
+
const timestampValue = toHex(Math.floor(Date.now() / 1000), { size: 32 });
|
|
26
29
|
let code;
|
|
27
30
|
switch (version) {
|
|
28
31
|
case "0.8": {
|
|
@@ -47,8 +50,12 @@ export const getFilterOpsStateOverride = ({ version, entryPoint, baseFeePerGas }
|
|
|
47
50
|
value: senderCreatorOverride.value
|
|
48
51
|
},
|
|
49
52
|
{
|
|
50
|
-
slot,
|
|
51
|
-
value
|
|
53
|
+
slot: baseFeeSlot,
|
|
54
|
+
value: baseFeeValue
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
slot: timestampSlot,
|
|
58
|
+
value: timestampValue
|
|
52
59
|
}
|
|
53
60
|
]
|
|
54
61
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entryPointOverrides.js","sourceRoot":"","sources":["../../utils/entryPointOverrides.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,gBAAgB,EAChB,SAAS,EACT,GAAG,EACH,KAAK,EACR,MAAM,MAAM,CAAA;AAGb,OAAO,oBAAoB,MAAM,iFAAiF,CAAC;IAC/G,IAAI,EAAE,MAAM;CACf,CAAA;AACD,OAAO,oBAAoB,MAAM,iFAAiF,CAAC;IAC/G,IAAI,EAAE,MAAM;CACf,CAAA;AACD,OAAO,oBAAoB,MAAM,iFAAiF,CAAC;IAC/G,IAAI,EAAE,MAAM;CACf,CAAA;AAED,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,UAAmB,EAAE,EAAE;IAC5D,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAA;IAC/C,MAAM,KAAK,GAAG,GAAG,CACb,gBAAgB,CAAC;QACb,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,EAAE;KACZ,CAAC,EACF,EAAE,IAAI,EAAE,EAAE,EAAE,CACf,CAAA;IAED,OAAO;QACH,IAAI;QACJ,KAAK;KACR,CAAA;AACL,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,EACtC,OAAO,EACP,UAAU,EACV,aAAa,EAKhB,EAAiB,EAAE;IAChB,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,UAAU,CAAC,CAAA;IAClE,MAAM,
|
|
1
|
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AG,EAAE,GAAG,IAAI,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAA;IAEzE,IAAI,IAAS,CAAA;IACb,QAAQ,OAAO,EAAE,CAAC;QACd,KAAK,KAAK,CAAC,CAAC,CAAC;YACT,IAAI,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,MAAa,CAAA;YAC1D,MAAK;QACT,CAAC;QACD,KAAK,KAAK,CAAC,CAAC,CAAC;YACT,IAAI,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,MAAa,CAAA;YAC1D,MAAK;QACT,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACN,IAAI,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,MAAa,CAAA;QAC9D,CAAC;IACL,CAAC;IAED,OAAO;QACH;YACI,OAAO,EAAE,UAAU;YACnB,IAAI;YACJ,SAAS,EAAE;gBACP;oBACI,IAAI,EAAE,qBAAqB,CAAC,IAAI;oBAChC,KAAK,EAAE,qBAAqB,CAAC,KAAK;iBACrC;gBACD;oBACI,IAAI,EAAE,WAAW;oBACjB,KAAK,EAAE,YAAY;iBACtB;gBACD;oBACI,IAAI,EAAE,aAAa;oBACnB,KAAK,EAAE,cAAc;iBACxB;aACJ;SACJ;KACJ,CAAA;AACL,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pimlico/alto",
|
|
3
|
-
"version": "0.0.0-main.
|
|
3
|
+
"version": "0.0.0-main.20250716T144817",
|
|
4
4
|
"description": "A performant and modular ERC-4337 Bundler written in Typescript",
|
|
5
5
|
"repository": "https://github.com/pimlicolabs/alto.git",
|
|
6
6
|
"author": "Pimlico",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"id":"7710b5a048396e70","source_id_to_path":{"0":"lib/account-abstraction-v7/contracts/core/NonceManager.sol","1":"lib/account-abstraction-v7/contracts/interfaces/IAccount.sol","2":"lib/account-abstraction-v7/contracts/interfaces/IAccountExecute.sol","3":"lib/account-abstraction-v7/contracts/interfaces/IAggregator.sol","4":"lib/account-abstraction-v7/contracts/interfaces/IEntryPoint.sol","5":"lib/account-abstraction-v7/contracts/interfaces/INonceManager.sol","6":"lib/account-abstraction-v7/contracts/interfaces/IPaymaster.sol","7":"lib/account-abstraction-v7/contracts/interfaces/IStakeManager.sol","8":"lib/account-abstraction-v7/contracts/interfaces/PackedUserOperation.sol","9":"lib/account-abstraction-v7/contracts/utils/Exec.sol","10":"lib/account-abstraction-v8/contracts/core/Helpers.sol","11":"lib/account-abstraction-v8/contracts/interfaces/ISenderCreator.sol","12":"lib/openzeppelin-contracts-v5.1.0/contracts/interfaces/IERC5267.sol","13":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/Panic.sol","14":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/ReentrancyGuardTransient.sol","15":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/ShortStrings.sol","16":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/StorageSlot.sol","17":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/Strings.sol","18":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/TransientSlot.sol","19":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/cryptography/EIP712.sol","20":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/cryptography/MessageHashUtils.sol","21":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/math/Math.sol","22":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/math/SafeCast.sol","23":"lib/openzeppelin-contracts-v5.1.0/contracts/utils/math/SignedMath.sol","24":"src/IEntryPointSimulations.sol","25":"src/v08/EntryPoint.sol","26":"src/v08/EntryPointSimulations.sol","27":"src/v08/overrides/Eip7702Support.sol","28":"src/v08/overrides/SenderCreator.sol","29":"src/v08/overrides/StakeManager.sol","30":"src/v08/overrides/UserOperationLib.sol"},"language":"Solidity"}
|