Skip to content

Conversation

@anna-carroll
Copy link
Contributor

  • MUST call with_chain before signing orders
  • clarify misleading log message
  • add log for RU transaction hashes to improve observability

@anna-carroll anna-carroll self-assigned this Oct 23, 2025
@anna-carroll anna-carroll changed the title fix: use with_chain, improve logging fix: use with_chain, improve logging Oct 23, 2025
Copy link
Contributor

@dylanlott dylanlott left a comment

Choose a reason for hiding this comment

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

LGTM 🎀

Copy link
Member

@Evalir Evalir left a comment

Choose a reason for hiding this comment

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

if this MUSt be set on the order before it

Comment on lines +106 to +109
let signed = order
.with_chain(config.constants.system())
.sign(signer)
.await?;
Copy link
Member

Choose a reason for hiding this comment

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

i'm a bit confused about this. if there's no chain id set, shouldn't signing the order outright fail? how was this working before?

Copy link
Contributor Author

@anna-carroll anna-carroll Oct 27, 2025

Choose a reason for hiding this comment

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

it wasn't working. it got broken when SDK got updated to a later version, maybe #19? the code compiled without it but was running the script tested?

@anna-carroll anna-carroll merged commit a3ff46d into main Oct 27, 2025
6 checks passed
@anna-carroll anna-carroll deleted the anna/fix-with-chain branch October 27, 2025 14:58
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.

3 participants