RGB-WG / rgb

RGB smart contracts: command-line tool & wallet runtime library for desktop and mobile integration

Home Page:https://rgb.tech

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

global type doesn't match type definition: ExtraField(FieldName("naming"))

ethereumspace opened this issue · comments

I used version v0.11.5 to compile rgb20, but this error occurred. How to solve it?
屏幕截图 2024-04-25 173528
屏幕截图2 2024-04-25 174018

`interface: RGB20

globals:
spec:
ticker: DBG
name: Debug asset
details: "Pay attention: the asset has no value"
precision: 0
terms:
text: rgb20 asset
media: ~
issuedSupply: 1000

assignments:
assetOwner:
seal: opret1st:57b640f61013abcd7a1000ed59ca3bb86cebdfc00ab9b0da756b314b3d99f835:0
amount: 1000
`
I need to modify the rgb20 yaml file so that it can be compiled and passed

yes, because the code you compiled was beta5, but the yaml file was beta4, so it will panic.

Fixed in develop branch