Skip to content

Commit 0ea96a3

Browse files
authored
Merge pull request #3253 from findmyhappy/master
chore: fix some typos in comment
2 parents 15a1550 + d8401b8 commit 0ea96a3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

integration_tests/tests/cip137_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def test_cip137(network: ConfluxTestFramework):
191191
epoch = int(focusing_block["epochNumber"], 16)
192192

193193
network.log.info(f"epoch of block b: {epoch}")
194-
network.log.info(f"heigth of block b: {int(focusing_block['height'], 16)}")
194+
network.log.info(f"height of block b: {int(focusing_block['height'], 16)}")
195195
network.log.info(
196196
f"base_fee_per_gas for epoch {epoch}: {network.rpc.base_fee_per_gas(epoch)}"
197197
)

internal_contract/contracts/AdminControl.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ contract AdminControl {
1717

1818
/**
1919
* @dev Contract admin destroy contract `contractAddr`.
20-
* @param contractAddr The contract to be destroied
20+
* @param contractAddr The contract to be destroyed
2121
*/
2222
function destroy(address contractAddr) public {}
2323
}

tests/cip137_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def run_test(self):
181181
epoch = int(focusing_block["epochNumber"],16)
182182

183183
self.log.info(f"epoch of block b: {epoch}")
184-
self.log.info(f"heigth of block b: {int(focusing_block['height'], 16)}")
184+
self.log.info(f"height of block b: {int(focusing_block['height'], 16)}")
185185
self.log.info(f"base_fee_per_gas for epoch {epoch}: {self.rpc.base_fee_per_gas(epoch)}")
186186
self.log.info(f"burnt_fee_per_gas for epoch {epoch}: {self.rpc.base_fee_per_gas(epoch) * 0.5}")
187187
self.log.info(f"least base fee for epoch {epoch}: {self.rpc.base_fee_per_gas(epoch) * BURNT_RATIO}")

tests/contract_bench_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ def testDaiContract(self):
348348
result = self.call_contract(self.pub[0], self.pri[0], contractAddr, data, storage_limit=128)
349349
assert(result["outcomeStatus"] != "0x0")
350350

351-
# insuffcient allowance
351+
# insufficient allowance
352352
data = contract.functions.transferFrom(Web3.to_checksum_address(self.pub[0]), self.sender_checksum, 10000).build_transaction(self.tx_conf)["data"]
353353
result = self.call_contract(self.pub[1], self.pri[1], contractAddr, data, storage_limit=128)
354354
assert(result["outcomeStatus"] != "0x0")

tests/test_all.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
PORT_MAX = 65535
1111
PORT_RANGE = 100
1212

13-
# 64 to 113 is recommanded for user defined error code (https://tldp.org/LDP/abs/html/exitcodes.html).
13+
# 64 to 113 is recommended for user defined error code (https://tldp.org/LDP/abs/html/exitcodes.html).
1414
# 64 to 77 has been reserved in /usr/include/sysexits.h (https://stackoverflow.com/questions/1101957/are-there-any-standard-exit-status-codes-in-linux)
1515
TEST_FAILURE_ERROR_CODE = 80
1616

0 commit comments

Comments
 (0)