Skip to content

feat(panoptic): add AssemblyScript runtime adapter types - #14

Merged
derekbar90 merged 4 commits into
masterfrom
feature/panoptic-runtime-adapter-types
Jun 25, 2026
Merged

derekbar90 merged 4 commits into
masterfrom
feature/panoptic-runtime-adapter-types

Conversation

@derekbar90

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 983cc6482c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread assembly/utils/types/Price.ts Outdated
}
}
export function parsePrices(_prices: string): Array<Price> {
const payload = JSON.parse<PricePayload>(_prices);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep coercing stringified OHLC prices

When the OHLC data connector returns candle fields as strings (for example "close":"123.4"), this typed json-as parse into f32 fields no longer performs the previous Number.parseFloat(value.toString()) coercion, so existing payloads with stringified decimal prices will fail to deserialize or leave default zeros before strategy math runs.

Useful? React with 👍 / 👎.

Comment thread assembly/panoptic/types.ts Outdated
Comment on lines +697 to +698
export class MerkleProofsByActionDto {
approveToken: string[] = [];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve arbitrary Merkle proof keys

For Merkle artifacts whose proofsByAction contains any action key other than approveToken, the DTO has no place to store or serialize that proof, so merkleFindLeaf/merkleBuildManageArgs drop the required proofs before calling the host and non-approve Merkle actions cannot be built. This should be modeled as a dynamic map/record of action names to proof arrays rather than a single hard-coded field.

Useful? React with 👍 / 👎.

@derekbar90
derekbar90 merged commit 2b5f46c into master Jun 25, 2026
2 checks passed
@derekbar90
derekbar90 deleted the feature/panoptic-runtime-adapter-types branch June 25, 2026 20:40
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant