Skip to content

Commit 2a95741

Browse files
fulldecentMarenz
authored andcommitted
Update naming of Mainnet
1 parent 0549606 commit 2a95741

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

liblangutil/EVMVersion.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace solidity::langutil
3434

3535
/**
3636
* A version specifier of the EVM we want to compile to.
37-
* Defaults to the latest version deployed on Ethereum mainnet at the time of compiler release.
37+
* Defaults to the latest version deployed on Ethereum Mainnet at the time of compiler release.
3838
*/
3939
class EVMVersion:
4040
boost::less_than_comparable<EVMVersion>,

libsolidity/interface/CompilerStack.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ void CompilerStack::assemble(
12851285
"Contract code size is "s +
12861286
to_string(compiledContract.runtimeObject.bytecode.size()) +
12871287
" bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). "
1288-
"This contract may not be deployable on mainnet. "
1288+
"This contract may not be deployable on Mainnet. "
12891289
"Consider enabling the optimizer (with a low \"runs\" value!), "
12901290
"turning off revert strings, or using libraries."
12911291
);

test/externalTests/elementfi.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function elementfi_test
4343
local config_var=config
4444

4545
local compile_only_presets=(
46-
# ElementFi's test suite is hard-coded for mainnet forked via alchemy.io.
46+
# ElementFi's test suite is hard-coded for Mainnet forked via alchemy.io.
4747
# Locally we can only compile.
4848
#ir-no-optimize # Compilation fails with "YulException: Variable var_amount_9311 is 10 slot(s) too deep inside the stack."
4949
#ir-optimize-evm-only # Compilation fails with "YulException: Variable var_amount_9311 is 10 slot(s) too deep inside the stack."
@@ -87,7 +87,7 @@ function elementfi_test
8787
sed -i 's|bytes32(uint256(pool))|bytes32(uint256(uint160(pool)))|g' vault/PoolRegistry.sol
8888
popd
8989

90-
# The test suite uses forked mainnet and an expiration period that's too short.
90+
# The test suite uses forked Mainnet and an expiration period that's too short.
9191
# TODO: Remove when https://github.com/element-fi/elf-contracts/issues/243 is fixed.
9292
sed -i 's|^\s*require(_expiration - block\.timestamp < _unitSeconds);\s*$||g' contracts/ConvergentCurvePool.sol
9393

test/libsolidity/syntaxTests/bytecode_too_large.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ contract test {
99
// ====
1010
// EVMVersion: >byzantium
1111
// ----
12-
// Warning 5574: (21-27154): Contract code size is 27199 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
12+
// Warning 5574: (21-27154): Contract code size is 27199 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.

test/libsolidity/syntaxTests/bytecode_too_large_abiencoder_v1.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ contract test {
99
// ====
1010
// EVMVersion: >byzantium
1111
// ----
12-
// Warning 5574: (21-27154): Contract code size is 27209 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
12+
// Warning 5574: (21-27154): Contract code size is 27209 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.

test/libsolidity/syntaxTests/bytecode_too_large_byzantium.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ contract test {
77
// ====
88
// EVMVersion: =byzantium
99
// ----
10-
// Warning 5574: (0-27133): Contract code size is 27227 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.
10+
// Warning 5574: (0-27133): Contract code size is 27227 bytes and exceeds 24576 bytes (a limit introduced in Spurious Dragon). This contract may not be deployable on Mainnet. Consider enabling the optimizer (with a low "runs" value!), turning off revert strings, or using libraries.

0 commit comments

Comments
 (0)