Skip to content

Commit

Permalink
chore: test gas benchmark in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CJ42 committed Sep 29, 2023
1 parent 1c0b07c commit 3cda391
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

pull_request:
types: [opened]
# types: [opened]

# compare gas diff only when editing Solidity smart contract code
paths:
Expand Down
1 change: 1 addition & 0 deletions contracts/LSP0ERC725Account/LSP0ERC725AccountCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ abstract contract LSP0ERC725AccountCore is
if (msg.value != 0) {
emit ValueReceived(msg.sender, msg.value);
}
emit ValueReceived(msg.sender, msg.value);
}

/**
Expand Down
1 change: 1 addition & 0 deletions contracts/LSP6KeyManager/LSP6KeyManagerCore.sol
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ abstract contract LSP6KeyManagerCore is

_verifyPermissions(targetContract, msg.sender, msgValue, payload);
emit PermissionsVerified(msg.sender, msgValue, bytes4(payload));
emit PermissionsVerified(msg.sender, msgValue, bytes4(payload));

bytes memory result = _executePayload(
targetContract,
Expand Down

0 comments on commit 3cda391

Please sign in to comment.