Skip to content

feat: add eslint to be run pre commit (#3261) #7383

feat: add eslint to be run pre commit (#3261)

feat: add eslint to be run pre commit (#3261) #7383

GitHub Actions / Test Results succeeded Nov 15, 2024 in 0s

All 66 tests pass, 2 skipped in 55s

 1 files   -  17  13 suites   - 227   55s ⏱️ - 30m 5s
68 tests  - 539  66 ✅  - 536  2 💤  - 2  0 ❌  - 1 
68 runs   - 563  66 ✅  - 560  2 💤  - 2  0 ❌  - 1 

Results for commit 51eeeba. ± Comparison against earlier commit 2791784.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

2 skipped tests found

There are 2 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
from/to Addresses in transaction to a contract (deployed through HAPI tx) are in evm and long-zero format ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests Formats of addresses in Transaction and Receipt results from/to Addresses in transaction to a contract (deployed through HAPI tx) are in evm and long-zero format
should not return contract bytecode after sefldestruct ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should not return contract bytecode after sefldestruct

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

68 tests found

There are 68 tests, see "Raw output" for the full list of tests.
Raw output
@release should call eth_gasPrice ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_gasPrice @release should call eth_gasPrice
@release should correctly execute "eth_getBalance" with block number in the last 15 minutes with several txs around that time ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should correctly execute "eth_getBalance" with block number in the last 15 minutes with several txs around that time
@release should execute "eth_estimateGas" for contract call ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas @release should execute "eth_estimateGas" for contract call
@release should execute "eth_estimateGas" for existing account ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas @release should execute "eth_estimateGas" for existing account
@release should execute "eth_estimateGas" hollow account creation ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas @release should execute "eth_estimateGas" hollow account creation
@release should execute "eth_getBalance" for contract with id converted to evm_address ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" for contract with id converted to evm_address
@release should execute "eth_getBalance" for newly created account with 1 HBAR ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" for newly created account with 1 HBAR
@release should execute "eth_getBalance" with block number in the last 15 minutes for account that has performed contract deploys/calls ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with block number in the last 15 minutes for account that has performed contract deploys/calls
@release should execute "eth_getBalance" with block number in the last 15 minutes ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with block number in the last 15 minutes
@release should execute "eth_getBalance" with latest block hash ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with latest block hash
@release should execute "eth_getBalance" with latest block number ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with latest block number
@release should execute "eth_getBalance" with one block behind latest block number ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with one block behind latest block number
@release should execute "eth_getBalance" with pending ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release should execute "eth_getBalance" with pending
@release should execute "eth_getCode" for contract evm_address ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode @release should execute "eth_getCode" for contract evm_address
@release should execute "eth_getCode" for contract with id converted to evm_address ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode @release should execute "eth_getCode" for contract with id converted to evm_address
@release-light, @release should execute "eth_estimateGas" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas @release-light, @release should execute "eth_estimateGas"
@release-light, @release should execute "eth_getBalance" for contract ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance @release-light, @release should execute "eth_getBalance" for contract
from/to Addresses in transaction between accounts are in evm format ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests Formats of addresses in Transaction and Receipt results from/to Addresses in transaction between accounts are in evm format
from/to Addresses in transaction to a contract (deployed through HAPI tx) are in evm and long-zero format ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests Formats of addresses in Transaction and Receipt results from/to Addresses in transaction to a contract (deployed through HAPI tx) are in evm and long-zero format
from/to Addresses in transaction to a contract (deployed through the relay) are in evm and long-zero format ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests Formats of addresses in Transaction and Receipt results from/to Addresses in transaction to a contract (deployed through the relay) are in evm and long-zero format
from/to Addresses when transferring HTS tokens to the tokenAddress are in evm and long-zero format ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests Formats of addresses in Transaction and Receipt results from/to Addresses when transferring HTS tokens to the tokenAddress are in evm and long-zero format
should call eth_feeHistory ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_feeHistory should call eth_feeHistory
should execute "eth_chainId" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_chainId"
should execute "eth_estimateGas" with `to` filed set to null (deployment transaction) ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with `to` filed set to null (deployment transaction)
should execute "eth_estimateGas" with both input and data fields present in the txObject ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with both input and data fields present in the txObject
should execute "eth_estimateGas" with data as 0x instead of null ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with data as 0x instead of null
should execute "eth_estimateGas" with input as 0x instead of data ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with input as 0x instead of data
should execute "eth_estimateGas" with to, from, value and gas filed ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with to, from, value and gas filed
should execute "eth_estimateGas" with to, from, value,accessList gas filed ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should execute "eth_estimateGas" with to, from, value,accessList gas filed
should execute "eth_getBalance" for non-existing address ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getBalance should execute "eth_getBalance" for non-existing address
should execute "eth_getCode" for hts token ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should execute "eth_getCode" for hts token
should execute "eth_getStorageAt" request against an inactive address (contains no data) and receive a 32-byte-zero-hex string  ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request against an inactive address (contains no data) and receive a 32-byte-zero-hex string 
should execute "eth_getStorageAt" request to get current state changes with passing specific block hash ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request to get current state changes with passing specific block hash
should execute "eth_getStorageAt" request to get current state changes with passing specific block ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request to get current state changes with passing specific block
should execute "eth_getStorageAt" request to get current state changes without passing block ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request to get current state changes without passing block
should execute "eth_getStorageAt" request to get current state changes ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request to get current state changes
should execute "eth_getStorageAt" request to get old state with passing specific block ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getStorageAt should execute "eth_getStorageAt" request to get old state with passing specific block
should execute "eth_getUncleByBlockHashAndIndex" for non-existing block hash and index=0 ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleByBlockHashAndIndex" for non-existing block hash and index=0
should execute "eth_getUncleByBlockHashAndIndex" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleByBlockHashAndIndex"
should execute "eth_getUncleByBlockNumberAndIndex" for non-existing block number and index=0 ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleByBlockNumberAndIndex" for non-existing block number and index=0
should execute "eth_getUncleByBlockNumberAndIndex" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleByBlockNumberAndIndex"
should execute "eth_getUncleCountByBlockHash" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleCountByBlockHash"
should execute "eth_getUncleCountByBlockNumber" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_getUncleCountByBlockNumber"
should execute "eth_hashrate" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_hashrate"
should execute "eth_maxPriorityFeePerGas" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_maxPriorityFeePerGas"
should execute "eth_mining" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_mining"
should execute "eth_submitWork" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_submitWork"
should execute "eth_syncing" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "eth_syncing"
should execute "net_listening" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "net_listening"
should execute "net_version" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "net_version"
should execute "web3_client_version" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should execute "web3_client_version"
should not be able to execute "eth_estimateGas" with no transaction object ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should not be able to execute "eth_estimateGas" with no transaction object
should not be able to execute "eth_estimateGas" with wrong from field ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should not be able to execute "eth_estimateGas" with wrong from field
should not be able to execute "eth_estimateGas" with wrong gas field ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should not be able to execute "eth_estimateGas" with wrong gas field
should not be able to execute "eth_estimateGas" with wrong to field ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should not be able to execute "eth_estimateGas" with wrong to field
should not be able to execute "eth_estimateGas" with wrong value field ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_estimateGas should not be able to execute "eth_estimateGas" with wrong value field
should not return contract bytecode after sefldestruct ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should not return contract bytecode after sefldestruct
should not support "eth_coinbase" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_coinbase"
should not support "eth_getWork" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_getWork"
should not support "eth_protocolVersion" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_protocolVersion"
should not support "eth_sendTransaction" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_sendTransaction"
should not support "eth_sign" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_sign"
should not support "eth_signTransaction" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_signTransaction"
should not support "eth_submitHashrate" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Unsupported RPC Endpoints should not support "eth_submitHashrate"
should return 0x0 for account alias on eth_getCode ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return 0x0 for account alias on eth_getCode
should return 0x0 for account evm_address on eth_getCode ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return 0x0 for account evm_address on eth_getCode
should return 0x0 for non-existing contract on eth_getCode ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests eth_getCode should return 0x0 for non-existing contract on eth_getCode
should return empty on "eth_accounts" ‑ RPC Server Acceptance Tests Acceptance tests @api-batch-2 RPC Server Acceptance Tests @release Hardcoded RPC Endpoints should return empty on "eth_accounts"