Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: DKG Signing Backend #475

Closed
wants to merge 1 commit into from
Closed

fix: DKG Signing Backend #475

wants to merge 1 commit into from

Conversation

shekohex
Copy link
Collaborator

@shekohex shekohex commented Apr 20, 2023

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

  • Value::from_bytes(src_chain_id.encode())
  • Value::u128(u128::from(self.src_chain_id.chain_id())

Reference issue to close (if applicable)


Code Checklist

  • Tested
  • Documented

@shekohex
Copy link
Collaborator Author

@shekohex shekohex mentioned this pull request Apr 25, 2023
2 tasks
@salman01zp
Copy link
Contributor

Closing in favour of #477

@salman01zp salman01zp closed this Apr 25, 2023
@shekohex shekohex deleted the shady/fix-bug-474 branch May 9, 2023 14:21
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.

[BUG] Relayer fails to send proposals to the DKG to be signed
2 participants