OxL Reference

error missing-rpc-impl

error Standard: [§10.1]

What it means#

The impl of a service implements each rpc of the contract.

Example#

oxl✓ checked in CI
service Math { rpc twice(x: i32) -> i32
  rpc thrice(x: i32) -> i32 }
impl Math {            // <- missing-rpc-impl (thrice)
  rpc twice(x) { x * 2 }
}
error
missing-rpc-impl

How to fix#

Add the missing rpc to the impl.

See also#

OxL 1.0.0-beta · Documentation version 1.0.0-beta© OxwaldLink · generated from the Standard, the std sources and the guides