eth: fix 'broken' subscriptions

This commit is contained in:
bitful-pannul 2024-06-06 20:21:57 -07:00
parent a47531106a
commit 1cfe1e6e74
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ async fn build_subscription(
let kind = serde_json::to_value(&kind).unwrap(); let kind = serde_json::to_value(&kind).unwrap();
let params = serde_json::to_value(&params).unwrap(); let params = serde_json::to_value(&params).unwrap();
match pubsub match pubsub
.subscribe::<[serde_json::Value; 2], serde_json::Value>([kind, params]) .subscribe::<[serde_json::Value; 2], SubscriptionResult>([kind, params])
.await .await
{ {
Ok(sub) => { Ok(sub) => {

View File

@ -127,7 +127,7 @@ pub async fn register_local(
.input(input) .input(input)
.nonce(nonce) .nonce(nonce)
.with_chain_id(31337) .with_chain_id(31337)
.with_gas_limit(21_000) .with_gas_limit(500_000)
.with_max_priority_fee_per_gas(1_000_000_000) .with_max_priority_fee_per_gas(1_000_000_000)
.with_max_fee_per_gas(20_000_000_000); .with_max_fee_per_gas(20_000_000_000);