Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add name & version to package.json #164

Merged
merged 2 commits into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"name": "modular-account",
"version": "v1.0.1",
"devDependencies": {
"pnpm": "^8.7.5",
"solhint": "^3.6.2"
Expand Down
2 changes: 1 addition & 1 deletion test/account/UpgradeableModularAccount.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ contract UpgradeableModularAccountTest is Test {
initCode: "",
callData: abi.encodeCall(
UpgradeableModularAccount.execute, (address(counter), 0, abi.encodeCall(counter.increment, ()))
),
),
callGasLimit: CALL_GAS_LIMIT,
verificationGasLimit: VERIFICATION_GAS_LIMIT,
preVerificationGas: 0,
Expand Down
4 changes: 2 additions & 2 deletions test/account/UpgradeableModularAccountPluginManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ contract UpgradeableModularAccountPluginManagerTest is Test {
manifestHash: manifestHash,
pluginInstallData: abi.encode(
sessionKeys, new bytes32[](sessionKeys.length), new bytes[][](sessionKeys.length)
),
),
dependencies: dependencies
});

Expand Down Expand Up @@ -563,7 +563,7 @@ contract UpgradeableModularAccountPluginManagerTest is Test {
value: 0,
data: abi.encodeCall(
IPluginManager.installPlugin, (address(plugin), manifestHash, "", new FunctionReference[](0))
)
)
});
vm.expectEmit(true, true, true, true);
emit PluginUninstalled(address(multiOwnerPlugin), true);
Expand Down
2 changes: 1 addition & 1 deletion test/account/phases/AccountStatePhases.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ contract AccountStatePhasesTest is Test {
value: 0 ether,
data: abi.encodeCall(
IPluginManager.installPlugin, (address(mockPlugin1), manifestHash1, "", _EMPTY_DEPENDENCIES)
)
)
});
return calls;
}
Expand Down
2 changes: 1 addition & 1 deletion test/comparison/CompareSimpleAccount.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ contract CompareSimpleAccountTest is Test {
initCode: "",
callData: abi.encodeCall(
SimpleAccount.execute, (address(counter), 0, abi.encodeCall(Counter.increment, ()))
),
),
callGasLimit: 5000000,
verificationGasLimit: 5000000,
preVerificationGas: 0,
Expand Down
8 changes: 4 additions & 4 deletions test/plugin/session/SessionKeyPluginWithMultiOwner.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ contract SessionKeyPluginWithMultiOwnerTest is Test {
initCode: "",
callData: abi.encodeCall(
ISessionKeyPlugin(address(sessionKeyPlugin)).executeWithSessionKey, (calls, sessionKey1)
),
),
callGasLimit: CALL_GAS_LIMIT,
verificationGasLimit: VERIFICATION_GAS_LIMIT,
preVerificationGas: 0,
Expand Down Expand Up @@ -350,7 +350,7 @@ contract SessionKeyPluginWithMultiOwnerTest is Test {
initCode: "",
callData: abi.encodeCall(
ISessionKeyPlugin(address(sessionKeyPlugin)).executeWithSessionKey, (calls, signerAddress)
),
),
callGasLimit: CALL_GAS_LIMIT,
verificationGasLimit: VERIFICATION_GAS_LIMIT,
preVerificationGas: 0,
Expand Down Expand Up @@ -391,7 +391,7 @@ contract SessionKeyPluginWithMultiOwnerTest is Test {
initCode: "",
callData: abi.encodeCall(
ISessionKeyPlugin(address(sessionKeyPlugin)).executeWithSessionKey, (calls, signer)
),
),
callGasLimit: CALL_GAS_LIMIT,
verificationGasLimit: VERIFICATION_GAS_LIMIT,
preVerificationGas: 0,
Expand Down Expand Up @@ -430,7 +430,7 @@ contract SessionKeyPluginWithMultiOwnerTest is Test {
initCode: "",
callData: abi.encodeCall(
ISessionKeyPlugin(address(sessionKeyPlugin)).executeWithSessionKey, (calls, signer)
),
),
callGasLimit: CALL_GAS_LIMIT,
verificationGasLimit: VERIFICATION_GAS_LIMIT,
preVerificationGas: 0,
Expand Down
Loading