Skip to content

feat: format as md

feat: format as md #10

Triggered via pull request November 12, 2024 11:00
Status Failure
Total duration 18s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
src/lib.spec.ts > lib > should generate a well formatted report with empty root: src/lib.spec.ts#L12
Error: Snapshot `lib > should generate a well formatted report with empty root 1` mismatched - Expected + Received @@ -1,47 +1,65 @@ - "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) [gas: 224263, size: 1151] + "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) + + - gas: 224263 + -size: 1151 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | create(bytes32,bytes) | 286388 | 296666 | 287062 | 397068 | 6 | predictAddress(address,bytes32) | 1024 | 1024 | 1024 | 1024 | 6 | - ### [ProxyAdmin](https://github.com/src/contracts/transparent-proxy/ProxyAdmin.sol) [gas: 0, size: 0] + ### [ProxyAdmin](https://github.com/src/contracts/transparent-proxy/ProxyAdmin.sol) + + - gas: 0 + -size: 0 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | owner() | 386 | 386 | 386 | 386 | 6 | - ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) [gas: 1609662, size: 8244] + ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) + + - gas: 1609662 + -size: 8244 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | createDeterministic(address,address,bytes,bytes32) | 574115 | 534507 | 574589 | 574703 | 6 | createDeterministicProxyAdmin(address,bytes32) | 421268 | 421658 | 421850 | 421856 | 6 | predictCreateDeterministic(address,address,bytes,bytes32) | 12057 | 12057 | 12057 | 12057 | 6 | predictCreateDeterministicProxyAdmin(bytes32) | 6236 | 6236 | 6236 | 6236 | 6 | - ### [TransparentUpgradeableProxy](https://github.com/src/contracts/transparent-proxy/TransparentUpgradeableProxy.sol) [gas: 0, size: 0] + ### [TransparentUpgradeableProxy](https://github.com/src/contracts/transparent-proxy/TransparentUpgradeableProxy.sol) + + - gas: 0 + -size: 0 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | getFoo() | 1042 | 1042 | 1042 | 1042 | 6 | - ### [ImplOwnableWithGuardian](https://github.com/test/OwnableWithGuardian.t.sol) [gas: 285211, size: 1067] + ### [ImplOwnableWithGuardian](https://github.com/test/OwnableWithGuardian.t.sol) + + - gas: 285211 + -size: 1067 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | guardian() | 2286 | 2286 | 2286 | 2286 | 1 | owner() | 2341 | 2341 | 2341 | 2341 | 1 | updateGuardian(address) | 25944 | 28245 | 28283 | 30394 | 6 | - ### [TestPermissionlessRescuable](https://github.com/test/PermissionlessRescuable.t.sol) [gas: 879072, size: 4033] + ### [TestPermissionlessRescuable](https://github.com/test/PermissionlessRescuable.t.sol) + + - gas: 879072 + -size: 4033 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | emergencyEtherTransfer(uint256) | 59057 | 59900 | 59900 | 60743 | 2 | emergencyTokenTransfer(address,uint256) | 34213 | 50627 | 51185 | 65925 | 4 | ❯ src/lib.spec.ts:12:7
src/lib.spec.ts > lib > should generate a well formatted report with existing root: src/lib.spec.ts#L19
Error: Snapshot `lib > should generate a well formatted report with existing root 1` mismatched - Expected + Received @@ -1,47 +1,65 @@ - "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) [gas: 224263, size: 1151] + "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) + + - gas: 224263 + -size: 1151 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | create(bytes32,bytes) | <sup title="296388">↓-3.4%</sup>286388 | 296666 | 287062 | <sup title="297068">↑34%</sup>397068 | 6 | predictAddress(address,bytes32) | 1024 | 1024 | 1024 | 1024 | 6 | - ### [ProxyAdmin](https://github.com/src/contracts/transparent-proxy/ProxyAdmin.sol) [gas: 0, size: 0] + ### [ProxyAdmin](https://github.com/src/contracts/transparent-proxy/ProxyAdmin.sol) + + - gas: 0 + -size: 0 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | owner() | 386 | 386 | 386 | 386 | 6 | - ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) [gas: 1609662, size: <sup title="7244">↑14%</sup>8244] + ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) + + - gas: 1609662 + -size: <sup title="7244">↑14%</sup>8244 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | createDeterministic(address,address,bytes,bytes32) | 574115 | 534507 | 574589 | 574703 | 6 | createDeterministicProxyAdmin(address,bytes32) | 421268 | 421658 | 421850 | 421856 | 6 | predictCreateDeterministic(address,address,bytes,bytes32) | 12057 | 12057 | 12057 | 12057 | 6 | predictCreateDeterministicProxyAdmin(bytes32) | 6236 | 6236 | 6236 | 6236 | 6 | - ### [TransparentUpgradeableProxy](https://github.com/src/contracts/transparent-proxy/TransparentUpgradeableProxy.sol) [gas: 0, size: 0] + ### [TransparentUpgradeableProxy](https://github.com/src/contracts/transparent-proxy/TransparentUpgradeableProxy.sol) + + - gas: 0 + -size: 0 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | getFoo() | 1042 | 1042 | 1042 | 1042 | 6 | - ### [ImplOwnableWithGuardian](https://github.com/test/OwnableWithGuardian.t.sol) [gas: 285211, size: 1067] + ### [ImplOwnableWithGuardian](https://github.com/test/OwnableWithGuardian.t.sol) + + - gas: 285211 + -size: 1067 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | guardian() | 2286 | 2286 | 2286 | 2286 | 1 | owner() | 2341 | 2341 | 2341 | 2341 | 1 | updateGuardian(address) | 25944 | 28245 | 28283 | 30394 | 6 | - ### [TestPermissionlessRescuable](https://github.com/test/PermissionlessRescuable.t.sol) [gas: 879072, size: 4033] + ### [TestPermissionlessRescuable](https://github.com/test/PermissionlessRescuable.t.sol) + + - gas: 879072 + -size: 4033 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | emergencyEtherTransfer(uint256) | 59057 | 59900 | 59900 | 60743 | 2 | emergencyTokenTransfer(address,uint256) | 34213 | 50627 | 51185 | 65925 | 4 | ❯ src/lib.spec.ts:19:7
src/lib.spec.ts > lib > should generate a well formatted report with existing root & skip unchanged: src/lib.spec.ts#L27
Error: Snapshot `lib > should generate a well formatted report with existing root & skip unchanged 1` mismatched - Expected + Received - "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) [gas: 224263, size: 1151] + "### [Create3Factory](https://github.com/src/contracts/create3/Create3Factory.sol) + + - gas: 224263 + -size: 1151 | Method | min | mean | median | max | calls | | --- | ---: | ---: | ---: | ---: | ---: | create(bytes32,bytes) | <sup title="296388">↓-3.4%</sup>286388 | 296666 | 287062 | <sup title="297068">↑34%</sup>397068 | 6 | - ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) [gas: 1609662, size: <sup title="7244">↑14%</sup>8244] + ### [TransparentProxyFactory](https://github.com/src/contracts/transparent-proxy/TransparentProxyFactory.sol) + + - gas: 1609662 + -size: <sup title="7244">↑14%</sup>8244 " ❯ src/lib.spec.ts:27:7
test
Process completed with exit code 1.
test
Could not determine node version from /home/runner/work/action-foundry-gas-diff/action-foundry-gas-diff/package.json. Falling back