Skip to content

Conversation

mdqst
Copy link
Contributor

@mdqst mdqst commented Sep 9, 2025

fixed several issues related to contract handling and TS compatibility:

  • removed unnecessary await from FeeJuiceContract.at(...) - .at() returns a synchronous contract.
  • updated TokenContract.deploy(...) to use an object instead of a list of arguments for the current SDK signature.
  • changed .deploy() calls to .deploy().send({ fee: ... }) for proper fee handling.
  • converted numeric literals to BigInt (e.g., 10 → 10n, 0 → 0n) to match uint256 contract types.
  • temporarily cast l1Client to any in L1FeeJuicePortalManager.new to bypass TS type checks.

changes ensure smooth deployment, correct typing, and full SDK compatibility.

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.

1 participant