tangle-network / relayer

🕸️ The Webb Relayer Network
https://webb-tools.github.io/relayer/
Apache License 2.0
22 stars 13 forks source link

fix: DKG Signing Backend #475

Closed shekohex closed 1 year ago

shekohex commented 1 year ago

Summary of changes

Dynamic Transaction

There is an issue with creating dynamic transactions and TypedChainId, for some reason it does not work and returns this error:

Error encoding from dynamic value: Value shape is wrong; expected type ID 49, but got value Value { value: Composite(Named([("name", Value { value: Primitive(String("EVM")), context: () }), ("values", Value { value: Composite(Unnamed([Value { value: Primitive(U128(5001)), context: () }])), context: () })])), context: () }, which could not be coerced into it

Logs

2023-04-20T20:15:04.027954Z ERROR webb_probe: kind: tx_queue, ty: "SUBSTRATE", chain_id: 1081, errored: true, error: Error encoding from dynamic value: Value shape is wrong; expected type ID 49, but got value Value { value: Composite(Named([("name", Value { value: Primitive(String("EVM")), context: () }), ("values", Value { value: Composite(Unnamed([Value { value: Primitive(U128(5001)), context: () }])), context: () })])), context: () }, which could not be coerced into it
    at crates/tx-queue/src/substrate/substrate_tx_queue.rs:140
    in webb_relayer_tx_queue::substrate::substrate_tx_queue::run with node: 1081

What I have tried and did not work

Reference issue to close (if applicable)


Code Checklist

shekohex commented 1 year ago

Related Repos and examples:

salman01zp commented 1 year ago

Closing in favour of https://github.com/webb-tools/relayer/pull/477