Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy example fails with taquito 11.1.0 #14

Open
LeoTheG opened this issue Dec 30, 2021 · 0 comments
Open

deploy example fails with taquito 11.1.0 #14

LeoTheG opened this issue Dec 30, 2021 · 0 comments

Comments

@LeoTheG
Copy link

LeoTheG commented Dec 30, 2021

I'm trying to run the deploy example using the FA1.2 implementation here https://github.com/ecadlabs/token-contract-example/blob/master/contracts/Token.ligo

deploy.js's originate code:

https://github.com/ecadlabs/token-contract-example/blob/master/deploy.js#L10-L22

Running that code with taquito version 11.1.0 returns this error:

Error: {
  "value": {
    "tz1aSkwEot3L2kmUvcoxzjMomb9mvBNuzFK6": {
      "balance": "100",
      "allowances": {}
    }
  },
  "token": {
    "val": {
      "prim": "big_map",
      "annots": [
        "%ledger"
      ],
      "args": [
        {
          "prim": "address"
        },
        {
          "prim": "pair",
          "args": [
            {
              "prim": "map",
              "annots": [
                "%allowances"
              ],
              "args": [
                {
                  "prim": "address"
                },
                {
                  "prim": "nat"
                }
              ]
            },
            {
              "prim": "nat",
              "annots": [
                "%balance"
              ]
            }
          ]
        }
      ]
    },
    "idx": 0
  },
  "name": "BigMapValidationError",
  "message": "[ledger] Value must be a MichelsonMap"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant