We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
scripts/generate-clients.mjs
createFromRoot
The generate-clients script calls the createFromRoot method from codama with two parameters. However, the method seems to accept only one.
codama
import * as c from 'codama' import { rootNodeFromAnchor } from '@codama/nodes-from-anchor' import { getAllProgramIdls } from './utils.mjs' // Instantiate Codama. const [idl, ...additionalIdls] = getAllProgramIdls().map((idl) => rootNodeFromAnchor(require(idl)), ) // ❌ The `createFromRoot` method only accepts 1 parameter const codama = c.createFromRoot(idl, additionalIdls)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The generate-clients script calls the
createFromRoot
method fromcodama
with two parameters. However, the method seems to accept only one.The text was updated successfully, but these errors were encountered: