docs: error in example for AENS.update #458

Closed
opened 2023-06-15 19:29:50 +09:00 by zxq9 · 0 comments
zxq9 commented 2023-06-15 19:29:50 +09:00 (Migrated from gitlab.com)

Created by: marc0olo

just playing around with the AENS namespace and its operations. the AENS.update example seems to be wrong as the pointers are also optional according to compiler, see https://github.com/aeternity/aesophia/blob/master/docs/sophia_stdlib.md#update

current example

AENS.update(owner : address, name : string, expiry : option(Chain.ttl), client_ttl : option(int),
            new_ptrs : map(string, AENS.pointee), <signature : signature>) : unit

expected example

AENS.update(owner : address, name : string, expiry : option(Chain.ttl), client_ttl : option(int),
            new_ptrs : option(map(string, AENS.pointee)), <signature : signature>) : unit
*Created by: marc0olo* just playing around with the AENS namespace and its operations. the `AENS.update` example seems to be wrong as the pointers are also optional according to compiler, see https://github.com/aeternity/aesophia/blob/master/docs/sophia_stdlib.md#update ### current example ```sophia AENS.update(owner : address, name : string, expiry : option(Chain.ttl), client_ttl : option(int), new_ptrs : map(string, AENS.pointee), <signature : signature>) : unit ``` ### expected example ```sophia AENS.update(owner : address, name : string, expiry : option(Chain.ttl), client_ttl : option(int), new_ptrs : option(map(string, AENS.pointee)), <signature : signature>) : unit ```
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: QPQ-AG/sophia#458
No description provided.