Add contract events to spec#1818
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This pull request adds support for displaying contract events in the smart contract specification interface by upgrading the @stellar-expert/contract-wasm-interface-parser library and implementing event formatting functionality.
Changes:
- Upgraded
@stellar-expert/contract-wasm-interface-parserfrom version 3.2.0 to 4.0.0 - Added
eventsOutputfunction to format and display contract events with decorators, topics, and data formats - Updated network limits data for MAINNET, TESTNET, and FUTURENET with current state size window values
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/helpers/formatContractInterface.ts | Added new eventsOutput function to format contract events with proper decorators, topics, data formats, and documentation; integrated events into the contract interface output |
| package.json | Upgraded @stellar-expert/contract-wasm-interface-parser dependency from ^3.2.0 to ^4.0.0 |
| pnpm-lock.yaml | Updated lock file to reflect the parser library upgrade from 3.2.0 to 4.0.0, including peer dependency change from >=12 to >=14 for @stellar/stellar-base |
| src/constants/networkLimits.ts | Updated live_soroban_state_size_window arrays with current network state data for MAINNET, TESTNET, and FUTURENET |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Preview is available here: |
e6e7081 to
b5aff22
Compare
|
Preview is available here: |
|
Preview is available here: |
ID used:
CDOZIPQGZSMXC56ZWTZX6TTQIF3SSDEDBL36NNKP4FOSJXD7IPSGNLM3on TESTNET@stellar-expert/contract-wasm-interface-parserdoesn't returninterfacefor SAC