kadena-io / marmalade

Decentralized Infrastructure for Poly-Fungibles and NFTs
24 stars 16 forks source link

[Bug]: Policy-Manager needs to init #94

Closed daplcor closed 1 year ago

daplcor commented 1 year ago

Expected Behavior

We should be able to use the marmalade.ledger.guard for minting NFTS.

Current Behavior

We get read-row not found when trying to mint. Policy-manager also gave row not found when running any of the get commands in policy.

Possible Solution

I need someone with marmalade-admin to run this, because the output below is what I get which is expected. (n_42174c7f0ec646f47ba227ffeb24714da378f4d1.policy-manager.init { "ledger-guard": (n_42174c7f0ec646f47ba227ffeb24714da378f4d1.ledger.ledger-guard) ,"ledger": n_42174c7f0ec646f47ba227ffeb24714da378f4d1.ledger })

TX Error: {"callStack":[],"type":"TxFailure","message":"Keyset failure (keys-any): 'marmalade-admin","info":""}

Steps to Reproduce

try to use ledger.create-token or in policy-manager just run any commands.

Relevant log output

No response

jermaine150 commented 1 year ago

The initialisation of the init was indeed missing. This is executed now and also added to the create script here: https://github.com/kadena-io/marmalade/commit/f45e9262826922da1dd1981c39d862353a2217bd