Skip to content

refactor: SField and TER code renames#7797

Open
ricky122-5 wants to merge 3 commits into
XRPLF:ripple/smart-escrowfrom
ricky122-5:ripple/pr/smart-escrow-ter-rename
Open

refactor: SField and TER code renames#7797
ricky122-5 wants to merge 3 commits into
XRPLF:ripple/smart-escrowfrom
ricky122-5:ripple/pr/smart-escrow-ter-rename

Conversation

@ricky122-5

@ricky122-5 ricky122-5 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

High Level Overview of Change

Renames TER codes to updated spec

Renames four Smart Escrow TER codes:

tecWASM_REJECTED -> tecBYTECODE_REJECTED
tefNO_WASM -> tefNO_BYTECODE
tefWASM_FIELD_NOT_INCLUDED -> tefBYTECODE_NOT_INCLUDED
temBAD_WASM -> temINVALID_BYTECODE
Compute->Gas, Wasm->VM, FinishFunction->Bytecode

Context of Change

API Impact

  • Public API: New feature (new methods and/or new fields)
  • Public API: Breaking change (in general, breaking changes should only impact the next api_version)
  • libxrpl change (any change that may affect libxrpl or dependents of libxrpl)
  • Peer protocol change (must be backward compatible or bump the peer protocol version)

@ricky122-5

Copy link
Copy Markdown
Contributor Author

Stacked on top of #7696

@mvadari mvadari left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

PR needs to be renamed to include the SField renames

@ricky122-5 ricky122-5 changed the title refactor: TER code renames: WASM->BYTECODE / INVALID_BYTECODE refactor: SField and TER code renames Jul 15, 2026
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.

2 participants