Commit 0ea0441f authored by oisa godspower's avatar oisa godspower Committed by GitHub

GasPriceOracle.sol: small fix (#11840)

* small fix

* Change version and hash
parent 2769b25b
...@@ -68,8 +68,8 @@ ...@@ -68,8 +68,8 @@
"sourceCodeHash": "0x0b6afdc52d1ae88d9e4bbb5dc00920e7a6bd1e9d6595bfdbae64874190f39df0" "sourceCodeHash": "0x0b6afdc52d1ae88d9e4bbb5dc00920e7a6bd1e9d6595bfdbae64874190f39df0"
}, },
"src/L2/GasPriceOracle.sol": { "src/L2/GasPriceOracle.sol": {
"initCodeHash": "0x03947f33b80774b92214083374262fe6a4defa61da548391b44d471f2e87e9e7", "initCodeHash": "0x7e8c2b42e10187ad649c0bf70c5688c2a4af3c412bacaec87d63c3f93ae4cfef",
"sourceCodeHash": "0x4f21025d4b5c9c74cf7040db6f8e9ce605b82931e3012fee51d3f5d9fbd7b73f" "sourceCodeHash": "0xa12ce15ded3cca681b2fc9facaebbb45d740dd6f9c9496333c1c46689c9a2d99"
}, },
"src/L2/L1Block.sol": { "src/L2/L1Block.sol": {
"initCodeHash": "0xa919d2aa76a7ecdfd076e2b1dbece499cc85706075f16eb6fa7b1a0fa7b38c1b", "initCodeHash": "0xa919d2aa76a7ecdfd076e2b1dbece499cc85706075f16eb6fa7b1a0fa7b38c1b",
......
...@@ -29,8 +29,8 @@ contract GasPriceOracle is ISemver { ...@@ -29,8 +29,8 @@ contract GasPriceOracle is ISemver {
uint256 public constant DECIMALS = 6; uint256 public constant DECIMALS = 6;
/// @notice Semantic version. /// @notice Semantic version.
/// @custom:semver 1.3.1-beta.2 /// @custom:semver 1.3.1-beta.3
string public constant version = "1.3.1-beta.2"; string public constant version = "1.3.1-beta.3";
/// @notice This is the intercept value for the linear regression used to estimate the final size of the /// @notice This is the intercept value for the linear regression used to estimate the final size of the
/// compressed transaction. /// compressed transaction.
...@@ -74,7 +74,7 @@ contract GasPriceOracle is ISemver { ...@@ -74,7 +74,7 @@ contract GasPriceOracle is ISemver {
// Add 68 to the size to account for unsigned tx: // Add 68 to the size to account for unsigned tx:
uint256 txSize = _unsignedTxSize + 68; uint256 txSize = _unsignedTxSize + 68;
// txSize / 255 + 16 is the pratical fastlz upper-bound covers %99.99 txs. // txSize / 255 + 16 is the practical fastlz upper-bound covers %99.99 txs.
uint256 flzUpperBound = txSize + txSize / 255 + 16; uint256 flzUpperBound = txSize + txSize / 255 + 16;
return _fjordL1Cost(flzUpperBound); return _fjordL1Cost(flzUpperBound);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment