mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
eth: fix 'broken' subscriptions
This commit is contained in:
parent
a47531106a
commit
1cfe1e6e74
@ -212,7 +212,7 @@ async fn build_subscription(
|
||||
let kind = serde_json::to_value(&kind).unwrap();
|
||||
let params = serde_json::to_value(¶ms).unwrap();
|
||||
match pubsub
|
||||
.subscribe::<[serde_json::Value; 2], serde_json::Value>([kind, params])
|
||||
.subscribe::<[serde_json::Value; 2], SubscriptionResult>([kind, params])
|
||||
.await
|
||||
{
|
||||
Ok(sub) => {
|
||||
|
@ -127,7 +127,7 @@ pub async fn register_local(
|
||||
.input(input)
|
||||
.nonce(nonce)
|
||||
.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_fee_per_gas(20_000_000_000);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user