OxL Справочник OxL
РусскийEnglish

error missing-rpc-impl

error Стандарт: [§10.1]

impl не реализует все rpc сервиса.

What it means#

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

Example#

oxl✓ проверяется в 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 · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства