Skip to content

Missing eth methods#45

Draft
LeoPatOZ wants to merge 12 commits intomainfrom
missing-eth-methods
Draft

Missing eth methods#45
LeoPatOZ wants to merge 12 commits intomainfrom
missing-eth-methods

Conversation

@LeoPatOZ
Copy link
Collaborator

@LeoPatOZ LeoPatOZ commented Feb 5, 2026

Towards #3

WARNING ⚠️

Lots of this was AI generated. Please give a sanity check to the tests (i looked over them briefly / updated some to be slightly)

Still Missing

Fee estimation

estimate_eip1559_fees_with(estimator: Eip1559Estimator) -> Eip1559Estimation -> blocked by #46

Utility/Other

get_sha3(data: &[u8]) -> B256
get_net_version() -> u64
raw_request<P, R>(method: Cow<'static, str>, params: P) -> R
raw_request_dyn(method: Cow<'static, str>, params: &RawValue) -> Box<RawValue>

@LeoPatOZ LeoPatOZ marked this pull request as draft February 5, 2026 10:04
let sender = accounts[0];

// Nonce 0 was used by the contract deployment, nonce 1 by the increase call
let robust_tx = robust.get_transaction_by_sender_nonce(sender, 1).await?;

Check failure

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a nonce
.

Copilot Autofix

AI 1 day ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its for tests

let accounts = alloy_provider.get_accounts().await?;
let sender = accounts[0];

let robust_tx = robust.get_transaction_by_sender_nonce(sender, 999).await?;

Check failure

Code scanning / CodeQL

Hard-coded cryptographic value Critical test

This hard-coded value is used as
a nonce
.

Copilot Autofix

AI 1 day ago

Copilot could not generate an autofix suggestion

Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.

@0xNeshi 0xNeshi force-pushed the missing-eth-methods branch from fa69fc9 to d13c6f0 Compare February 5, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants