mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix spelling errors
This commit is contained in:
@@ -193,7 +193,7 @@ contract ico is safeMath {
|
||||
|
||||
function setICOEthPrice(uint256 value) external {
|
||||
/*
|
||||
Setting of the ICO ETC USD rates which can only be calle by a pre-defined address.
|
||||
Setting of the ICO ETC USD rates which can only be called by a pre-defined address.
|
||||
After this function is completed till the call of the next function (which is at least an exchangeRateDelay array) this rate counts.
|
||||
With this process avoiding the sudden rate changes.
|
||||
|
||||
@@ -221,8 +221,8 @@ contract ico is safeMath {
|
||||
/*
|
||||
Closing the ICO.
|
||||
It is only possible when the ICO period passed and only by the owner.
|
||||
The 96% of the whole amount of the token is generated to the address of the fundation.
|
||||
Ethers which are situated in this contract will be sent to the address of the fundation.
|
||||
The 96% of the whole amount of the token is generated to the address of the foundation.
|
||||
Ethers which are situated in this contract will be sent to the address of the foundation.
|
||||
*/
|
||||
require( msg.sender == owner );
|
||||
require( block.number > icoDelay );
|
||||
|
||||
@@ -826,8 +826,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator)
|
||||
Instruction::JUMP,
|
||||
AssemblyItem(Tag, 3)
|
||||
};
|
||||
BlockDeduplicator dedup(input);
|
||||
dedup.deduplicate();
|
||||
BlockDeduplicator deduplicator(input);
|
||||
deduplicator.deduplicate();
|
||||
|
||||
set<u256> pushTags;
|
||||
for (AssemblyItem const& item: input)
|
||||
@@ -857,8 +857,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_same)
|
||||
AssemblyItem(PushTag, 1),
|
||||
AssemblyItem(PushTag, 1),
|
||||
} + blocks;
|
||||
BlockDeduplicator dedup(input);
|
||||
dedup.deduplicate();
|
||||
BlockDeduplicator deduplicator(input);
|
||||
deduplicator.deduplicate();
|
||||
BOOST_CHECK_EQUAL_COLLECTIONS(input.begin(), input.end(), output.begin(), output.end());
|
||||
}
|
||||
|
||||
@@ -876,8 +876,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_value)
|
||||
AssemblyItem{AssignImmutable, 0x1234},
|
||||
Instruction::JUMP
|
||||
};
|
||||
BlockDeduplicator dedup(input);
|
||||
BOOST_CHECK(!dedup.deduplicate());
|
||||
BlockDeduplicator deduplicator(input);
|
||||
BOOST_CHECK(!deduplicator.deduplicate());
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_hash)
|
||||
@@ -894,8 +894,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_assign_immutable_different_hash)
|
||||
AssemblyItem{AssignImmutable, 0xABCD},
|
||||
Instruction::JUMP
|
||||
};
|
||||
BlockDeduplicator dedup(input);
|
||||
BOOST_CHECK(!dedup.deduplicate());
|
||||
BlockDeduplicator deduplicator(input);
|
||||
BOOST_CHECK(!deduplicator.deduplicate());
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(block_deduplicator_loops)
|
||||
@@ -920,8 +920,8 @@ BOOST_AUTO_TEST_CASE(block_deduplicator_loops)
|
||||
AssemblyItem(PushTag, 2),
|
||||
Instruction::JUMP,
|
||||
};
|
||||
BlockDeduplicator dedup(input);
|
||||
dedup.deduplicate();
|
||||
BlockDeduplicator deduplicator(input);
|
||||
deduplicator.deduplicate();
|
||||
|
||||
set<u256> pushTags;
|
||||
for (AssemblyItem const& item: input)
|
||||
|
||||
Reference in New Issue
Block a user