Closed blukat29 closed 2 months ago
eth.chainId()
txhash = '0xe7880de31406cc082a67716e9275915fbf76049bc11d1f608cac9f812972912f'
eth.getTransaction(txhash).gasPrice
eth.getTransactionReceipt(txhash).effectiveGasPrice
kaia.getTransaction(txhash).gasPrice
kaia.getTransactionReceipt(txhash).effectiveGasPrice
klay.clientVersion()
eth.chainId()
eth.blockNumber
var hfnum = 156660000
var before = hfnum - (hfnum % 128)
var after = before + 128
kaia.getTotalSupply(before)
kaia.getTotalSupply(after)
gasPrice and maxPriorityFeePerGas APIs - Under low traffic, {eth,kaia}_gasPrice
and {eth,kaia}_maxPriorityFeePerGas
return a zero-tip price despite feeHistory containing high fees
Setup. Monitor two nodes on Kairos: one v1.0.0, another v1.0.1
setInterval(() => console.log(
eth.blockNumber,
parseInt(eth.gasPrice/1e9),
parseInt(eth.maxPriorityFeePerGas/1e9), '\t',
eth.feeHistory(20, 'latest', [60]).reward.flat().map((n) => parseInt(parseInt(n)/1e9)), '\t',
eth.feeHistory(20, 'latest').baseFeePerGas.map((n) => parseInt(parseInt(n)/1e9))
), 1000)
[x] Test 1. Intentionally create high-tip transactions and compare the results
base fee is maintaining lower bound (25)
send many txs with (maxfee = 70, maxtip = 30), filling up the feeHistory.
```ts import hre from "hardhat"; const totalBlock = 25; const tpb = 5; async function main() { const [sender] = await hre.ethers.getSigners(); const initialNonce = await sender.getTransactionCount(); for (let i = 0; i < totalBlock; i++) { for (let j = 0; j < tpb; j++) { await sender.sendTransaction({ to: sender.address, value: hre.ethers.utils.parseEther("0.0001"), maxFeePerGas: hre.ethers.utils.parseUnits("70", "gwei"), maxPriorityFeePerGas: hre.ethers.utils.parseUnits("30", "gwei"), nonce: initialNonce + i * tpb + j, }); } await new Promise((resolve) => setTimeout(resolve, 1000)); } } main().catch((error) => { console.error(error); process.exitCode = 1; }); ```
``` 158495353 26.5 1.5 0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495355 26.5 1.5 0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495356 26.5 1.5 0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495357 26.5 1.5 0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495358 26.5 1.5 0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495359 55 30 225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495360 55 30 0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495361 55 30 0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495362 55 30 0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495363 55 30 0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495363 55 30 0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495365 55 30 0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495366 55 30 0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495367 55 30 0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495368 55 30 0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495369 55 30 0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495370 55 30 0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495371 55 30 0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495372 55 30 30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495373 55 30 225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495374 55 30 30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495375 55 30 30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495376 55 30 225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495377 55 30 225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495378 55 30 225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495379 55 30 225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495380 55 30 225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495381 55 30 30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495382 55 30 30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495383 55 30 30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495384 55 30 30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495385 55 30 30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495386 55 30 30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495387 55 30 30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495388 55 30 30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495389 55 30 30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495390 55 30 30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495391 55 30 30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495392 55 30 0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495393 55 30 30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495394 55 30 30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495395 55 30 30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495396 55 30 30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495397 55 30 30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495398 55 30 30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495399 55 30 30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495400 55 30 30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495401 55 30 30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495402 55 30 0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495403 55 30 30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495404 55 30 0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495405 55 30 0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495406 55 30 0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 ```
``` 158495349 25 0 0,0,0,0,0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495350 25 0 0,0,0,0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495351 25 0 0,0,0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495352 25 0 0,0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495353 25 0 0,0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495354 25 0 0,0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495355 25 0 0,0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495356 25 0 0,0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495357 25 0 0,0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495358 25 0 0,225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495359 25 0 225,0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495360 25 0 0,0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495361 25 0 0,0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495362 25 0 0,0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495363 25 0 0,0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495364 25 0 0,0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495365 25 0 0,0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495366 25 0 0,0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495367 25 0 0,0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495368 25 0 0,0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495369 25 0 0,0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495370 25 0 0,0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495371 25 0 0,30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495372 25 0 30,225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495373 25 0 225,30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495374 25 0 30,30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495375 25 0 30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495375 25 0 30,225,225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495377 25 0 225,225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495378 25 0 225,225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495379 25 0 225,225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495380 25 0 225,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495381 25 0 30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495382 25 0 30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495383 25 0 30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495384 25 0 30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495385 25 0 30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495386 25 0 30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495387 25 0 30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495388 25 0 30,30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495389 25 0 30,30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495390 25 0 30,30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495391 25 0 30,0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495392 25 0 0,30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495393 25 0 30,30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495394 25 0 30,30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495395 25 0 30,30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495396 25 0 30,30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495397 25 0 30,30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495398 25 0 30,30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495399 25 0 30,30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495400 25 0 30,30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495401 25 0 30,0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495402 25 0 0,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495403 25 0 30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495404 25 0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495405 25 0 0,0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495406 25 0 0,0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495407 25 0 0,0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495408 25 0 0,0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158495409 25 0 0,0,0,0,0,0,0,0,0,30,30,0,0,0,0,0,0,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 ```
```ts
import hre from "hardhat";
const totalBlock = 5;
const tpb = 2;
const testonce = 0;
/*
// SPDX-License-Identifier: MIT
pragma solidity ^0.8;
contract GasBurner {
uint256[10000] arr;
function consume(uint256 num) public {
for (uint256 i=0; i
``` 158527026 26 1 0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158527028 26 1 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25 158527029 26 1 0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25 158527030 26 1 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25 158527030 26 1 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25 158527032 26 1 0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25 158527033 26 1 0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25 158527033 26 1 0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25 158527035 26 1 0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25 158527036 26 1 0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25 158527037 26 1 0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0 25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25 158527038 27 1 0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2 25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26 158527039 26 1 0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0 25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25 158527040 26 1 0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1 25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25 158527042 26 1 0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0 25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25 158527043 26 1 0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0 25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25 158527044 26 1 1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0,0 25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25,25 158527045 26 1 0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0,0,0 25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25,25,25 ```
``` 158527026 25 0 0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 158527028 25 0 0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25 158527029 25 0 0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25 158527030 25 0 1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25 158527031 50 25 0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26 158527032 25 0 0,0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25 158527033 25 0 0,0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25 158527034 51 25 0,0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2 25,25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26 158527035 25 0 0,0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0 25,25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25 158527036 25 0 0,0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0 25,25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25 158527037 25 0 0,0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0 25,25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25 158527038 51 25 0,0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2 25,25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26 158527039 25 0 0,0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0 25,25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25 158527040 25 0 0,0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1 25,25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25 158527041 51 25 0,0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2 25,25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26 158527042 25 0 0,0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0 25,25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25 158527043 25 0 0,1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0 25,25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25 158527044 25 0 1,0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0,0 25,25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25,25 158527045 25 0 0,2,0,0,0,2,0,0,2,0,0,0,2,0,1,2,0,0,0,0 25,25,26,25,25,25,26,25,25,26,25,25,25,26,25,25,26,25,25,25,25 ```
``` bn Original Buffered TipCap Reward history Base fee history Base fee (Next) 530 25000000000 27500000000 0 0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25 25000000000 531 26250000000 28875000000 0 0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26 26250000000 532 27562500000 30318750000 0 0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27 27562500000 533 28940625000 31834687500 0 0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28 28940625000 534 30387656250 33426421875 0 0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30 30387656250 535 31907039062 35097742968 0 0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30,31 31907039062 536 33502391014 40527749666 2000000000 0,0,0,0,0,0,1,0,0,0,1,0,0,0,2,2,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30,31,33 33502391014 537 35177510564 42454137148 2000000000 0,0,0,0,0,1,0,0,0,1,0,0,0,2,2,2,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30,31,33,35 35177510564 538 36936386092 44476844005 2000000000 0,0,0,0,1,0,0,0,1,0,0,0,2,2,2,2,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30,31,33,35,36 36936386092 539 38783205396 46600686205 2000000000 0,0,0,1,0,0,0,1,0,0,0,2,2,2,2,2,2,2,2,2 25,25,25,25,25,25,25,25,25,25,25,25,26,27,28,30,31,33,35,36,38 38783205396 ... 564 29267846602 35658023592 2000000000 2,2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 49,51,54,57,60,63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29 29267846602 565 27804454272 33975122412 2000000000 2,2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 51,54,57,60,63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27 27804454272 566 26414231558 32376366291 2000000000 2,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 54,57,60,63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26 26414231558 567 25093519981 30857547977 2000000000 2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 57,60,63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26,25 25093519980 568 25000000000 27500000000 0 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 60,63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26,25,25 25000000000 569 25000000000 27500000000 0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 63,60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26,25,25,25 25000000000 570 25000000000 27500000000 0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 60,57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26,25,25,25,25 25000000000 571 25000000000 27500000000 0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 57,54,51,48,46,44,41,39,37,35,34,32,30,29,27,26,25,25,25,25,25 25000000000 ```
./homi setup --gen-type=local --cn-num 1 --chainID 292929 --test-num 3
ADDITIONAL="--unlock 0,1 --password ~~/pwd.txt"
kaia-v1.0.1-rc.1
(2) kaiaClientTestScript.go: should modify the parameters for the testResult result.log
kaia-v1.0.1-rc.1
$ wget https://packages.kaia.io/kaia/v1.0.1~rc.1/kend-v1.0.1~rc.1-0.el7.x86_64.rpm
$ rpm -qlp kend-v1.0.1~rc.1-0.el7.x86_64.rpm
/etc/init.d/kend
/etc/kend/conf/kend.conf
/usr/bin/ken
$ sudo yum remove kend.x86_64 # remove v1.12.1-0.el7 package (if installed)
$ sudo yum install ./kend-v1.0.1~rc.1-0.el7.x86_64.rpm
Installed:
kend.x86_64 0:v1.0.1~rc.1-0.el7
Complete!
$ ken version
Kaia v1.0.1
$ sudo /etc/init.d/kend start
$ sudo ken attach /var/kend/data/klay.ipc
> kaia.clientVersion()
"Klaytn/v1.0.1/linux-amd64/go1.22.1"
$ uname -a
Linux workspace 6.5.0-1020-aws #20~22.04.1-Ubuntu SMP Wed May 1 16:10:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
$ wget https://packages.kaia.io/kaia/v1.0.1~rc.1/ken-v1.0.1~rc.1-0-linux-amd64.tar.gz
$ tar xf ken-v1.0.1~rc.1-0-linux-amd64.tar.gz
$ tree ken-linux-amd64
ken-linux-amd64/
├── bin
│ ├── ken
│ └── kend
└── conf
└── kend.conf
$ cd ken-linux-amd64
$ ./bin/ken version
Kaia v1.0.1~rc.1+1aca7b125c
$ echo "DATA_DIR=data" >> conf/kend.conf && echo "LOG_DIR=logs" >> conf/kend.conf && mkdir -p data && mkdir -p logs
$ ./bin/kend start
$ ./bin/ken attach ./data/klay.ipc
> kaia.clientVersion()
"Klaytn/v1.0.1~rc.1/linux-amd64/go1.22.1"
Regular test
v1.0.0:
> subbridge.parentOperatorBalance
Error: the method klay_getBalance does not exist/is not available
at web3.js:6810:9(39)
at get (web3.js:6710:66(14))
at <eval>:1:11(1)
v1.0.1-rc.1:
> subbridge.parentOperatorBalance
6.25e+48
Check that archive nodes successfully serve for any block/block range. Check that full nodes (a) serve some blocks or (b) return a 'missing trie node' error otherwise.
num % 128 == 1
or any block on archive mode -- those who depend on staking info
num % 1024 == 1
or any block on archive mode -- those who depend on staking info and Istanbul snapshot
num % 1024 == 0
go get github.com/kaiachain/kaia
works.Client
can send type-2 transactions with custom gas price & tipkscn
can successfully query the main chain's data viasubbridge_parentOperatorBalance
#27 @hyunsoodadebug.trace*
output is correct #15Sign-Off PR: #40