taproot-assets: input commitment does not contain asset_id=xxx: send: Input does not contain requested asset

I keep getting this error when sending assets:

[tarocli] unable to send assets: rpc error: code = Unknown desc = input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset

My setup:

My LND commit hash is: c03de26dc My Taro commit hash is: ddb0e0d

I have built LND using the command:

git checkout master && make && make install tags="autopilotrpc chainkit chainrpc invoicesrpc peersrpc routerrpc signrpc walletrpc watchtowerrpc wtclientrpc"

How to reproduce:

Mint new currency:

tarocli assets mint --type normal --name "x" --supply 880 --enable_emission false --meta "x currenccy" --skip_batch

This always gets stuck - I have to restart tarod…

Get new address:

tarocli addrs new --genesis_bootstrap_info 8508d19010b7b622da41cba39da82a4d4313654bf9996470bc681d2559d870890000000103227822000000000000 --amt 4

Send funds to address:

tarocli assets send --addr tarotb1qqqsqq3ws5ydryqsk7mz9kjpew3em2p2f4p3xe2tlxvkgu9udqwj2kwcwzysqqqqqypjy7pzqqqqqqqqqqzzzq4gxa53su0rk2e9y7vv5c72s3yam4qx83zam0zuyh9ucyl32645kvrzzq5n0exqf4f4wm6au9kyhrwddcdkpr98g0anu4xyflq2tlmmenvqduyqzpqkhr8jv

I get the error:

input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset

Log from tarod:

2023-01-04 11:38:20.514 [INF] FRTR: Received to send request to: 2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b:02a837691871e3b2b252798ca63ca8449ddd4063c45ddbc5c25cbcc13f156ab4b3
2023-01-04 11:38:20.514 [INF] FRTR: ChainPorter advancing from state=SendStateInitializing to state=SendStateBroadcast
2023-01-04 11:38:20.518 [INF] FRTR: Selected 1 possible asset inputs for send to 02a837691871e3b2b252798ca63ca8449ddd4063c45ddbc5c25cbcc13f156ab4b3
2023-01-04 11:38:20.518 [WRN] FRTR: unable to advance state machine: input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset
2023-01-04 11:38:20.518 [ERR] RPCS: [/tarorpc.Taro/SendAsset]: input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset
2023-01-04 11:38:36.656 [INF] FRTR: New asset shipment request to addr: (*tarofreighter.AssetParcel)(0xc00038aa20)({
 Dest: (*address.Taro)(0xc0001b2c60)({
  ChainParams: (*address.ChainParams)(0xc00038a9c0)({
   Params: (*chaincfg.Params)(0x2356fa0)({
    Name: (string) (len=8) "testnet3",
    Net: (wire.BitcoinNet) TestNet3,
    DefaultPort: (string) (len=5) "18333",
    DNSSeeds: ([]chaincfg.DNSSeed) (len=4 cap=4) {
     (chaincfg.DNSSeed) testnet-seed.bitcoin.jonasschnelli.ch,
     (chaincfg.DNSSeed) testnet-seed.bitcoin.schildbach.de,
     (chaincfg.DNSSeed) seed.tbtc.petertodd.org,
     (chaincfg.DNSSeed) testnet-seed.bluematt.me
    },
    GenesisBlock: (*wire.MsgBlock)(0x2352f20)({
     Header: (wire.BlockHeader) {
      Version: (int32) 1,
      PrevBlock: (chainhash.Hash) (len=32 cap=32) 0000000000000000000000000000000000000000000000000000000000000000,
      MerkleRoot: (chainhash.Hash) (len=32 cap=32) 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b,
      Timestamp: (time.Time) 2011-02-02 23:16:42 +0000 UTC,
      Bits: (uint32) 486604799,
      Nonce: (uint32) 414098458
     },
     Transactions: ([]*wire.MsgTx) (len=1 cap=1) {
      (*wire.MsgTx)(0x2350600)({
       Version: (int32) 1,
       TxIn: ([]*wire.TxIn) (len=1 cap=1) {
        (*wire.TxIn)(0x2351dc0)({
         PreviousOutPoint: (wire.OutPoint) 0000000000000000000000000000000000000000000000000000000000000000:4294967295,
         SignatureScript: ([]uint8) (len=77 cap=77) {
          00000000  04 ff ff 00 1d 01 04 45  54 68 65 20 54 69 6d 65  |.......EThe Time|
          00000010  73 20 30 33 2f 4a 61 6e  2f 32 30 30 39 20 43 68  |s 03/Jan/2009 Ch|
          00000020  61 6e 63 65 6c 6c 6f 72  20 6f 6e 20 62 72 69 6e  |ancellor on brin|
          00000030  6b 20 6f 66 20 73 65 63  6f 6e 64 20 62 61 69 6c  |k of second bail|
          00000040  6f 75 74 20 66 6f 72 20  62 61 6e 6b 73           |out for banks|
         },
         Witness: (wire.TxWitness) <nil>,
         Sequence: (uint32) 4294967295
        })
       },
       TxOut: ([]*wire.TxOut) (len=1 cap=1) {
        (*wire.TxOut)(0x2348da0)({
         Value: (int64) 5000000000,
         PkScript: ([]uint8) (len=67 cap=67) {
          00000000  41 04 67 8a fd b0 fe 55  48 27 19 67 f1 a6 71 30  |A.g....UH'.g..q0|
          00000010  b7 10 5c d6 a8 28 e0 39  09 a6 79 62 e0 ea 1f 61  |..\..(.9..yb...a|
          00000020  de b6 49 f6 bc 3f 4c ef  38 c4 f3 55 04 e5 1e c1  |..I..?L.8..U....|
          00000030  12 de 5c 38 4d f7 ba 0b  8d 57 8a 4c 70 2b 6b f1  |..\8M....W.Lp+k.|
          00000040  1d 5f ac                                          |._.|
         }
        })
       },
       LockTime: (uint32) 0
      })
     }
    }),
    GenesisHash: (*chainhash.Hash)(0x2229440)((len=32 cap=32) 000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943),
    PowLimit: (*big.Int)(0xc00007a580)(26959946667150639794667015087019630673637144422540572481103610249215),
    PowLimitBits: (uint32) 486604799,
    BIP0034Height: (int32) 21111,
    BIP0065Height: (int32) 581885,
    BIP0066Height: (int32) 330776,
    CoinbaseMaturity: (uint16) 100,
    SubsidyReductionInterval: (int32) 210000,
    TargetTimespan: (time.Duration) 336h0m0s,
    TargetTimePerBlock: (time.Duration) 10m0s,
    RetargetAdjustmentFactor: (int64) 4,
    ReduceMinDifficulty: (bool) true,
    MinDiffReductionTime: (time.Duration) 20m0s,
    GenerateSupported: (bool) false,
    Checkpoints: ([]chaincfg.Checkpoint) (len=14 cap=14) {
     (chaincfg.Checkpoint) {
      Height: (int32) 546,
      Hash: (*chainhash.Hash)(0xc00004a4c0)((len=32 cap=32) 000000002a936ca763904c3c35fce2f3556c559c0214345d31b1bcebf76acb70)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 100000,
      Hash: (*chainhash.Hash)(0xc00004a4e0)((len=32 cap=32) 00000000009e2958c15ff9290d571bf9459e93b19765c6801ddeccadbb160a1e)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 200000,
      Hash: (*chainhash.Hash)(0xc00004a500)((len=32 cap=32) 0000000000287bffd321963ef05feab753ebe274e1d78b2fd4e2bfe9ad3aa6f2)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 300001,
      Hash: (*chainhash.Hash)(0xc00004a520)((len=32 cap=32) 0000000000004829474748f3d1bc8fcf893c88be255e6d7f571c548aff57abf4)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 400002,
      Hash: (*chainhash.Hash)(0xc00004a540)((len=32 cap=32) 0000000005e2c73b8ecb82ae2dbc2e8274614ebad7172b53528aba7501f5a089)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 500011,
      Hash: (*chainhash.Hash)(0xc00004a560)((len=32 cap=32) 00000000000929f63977fbac92ff570a9bd9e7715401ee96f2848f7b07750b02)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 600002,
      Hash: (*chainhash.Hash)(0xc00004a580)((len=32 cap=32) 000000000001f471389afd6ee94dcace5ccc44adc18e8bff402443f034b07240)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 700000,
      Hash: (*chainhash.Hash)(0xc00004a5a0)((len=32 cap=32) 000000000000406178b12a4dea3b27e13b3c4fe4510994fd667d7c1e6a3f4dc1)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 800010,
      Hash: (*chainhash.Hash)(0xc00004a5c0)((len=32 cap=32) 000000000017ed35296433190b6829db01e657d80631d43f5983fa403bfdb4c1)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 900000,
      Hash: (*chainhash.Hash)(0xc00004a5e0)((len=32 cap=32) 0000000000356f8d8924556e765b7a94aaebc6b5c8685dcfa2b1ee8b41acd89b)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 1000007,
      Hash: (*chainhash.Hash)(0xc00004a600)((len=32 cap=32) 00000000001ccb893d8a1f25b70ad173ce955e5f50124261bbbc50379a612ddf)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 1100007,
      Hash: (*chainhash.Hash)(0xc00004a620)((len=32 cap=32) 00000000000abc7b2cd18768ab3dee20857326a818d1946ed6796f42d66dd1e8)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 1200007,
      Hash: (*chainhash.Hash)(0xc00004a640)((len=32 cap=32) 00000000000004f2dc41845771909db57e04191714ed8c963f7e56713a7b6cea)
     },
     (chaincfg.Checkpoint) {
      Height: (int32) 1300007,
      Hash: (*chainhash.Hash)(0xc00004a660)((len=32 cap=32) 0000000072eab69d54df75107c052b26b0395b44f77578184293bf1bb1dbd9fa)
     }
    },
    RuleChangeActivationThreshold: (uint32) 1512,
    MinerConfirmationWindow: (uint32) 2016,
    Deployments: ([5]chaincfg.ConsensusDeployment) (len=5 cap=5) {
     (chaincfg.ConsensusDeployment) {
      BitNumber: (uint8) 28,
      MinActivationHeight: (uint32) 0,
      CustomActivationThreshold: (uint32) 0,
      DeploymentStarter: (*chaincfg.MedianTimeDeploymentStarter)(0xc0000a7170)({
       blockClock: (chaincfg.BlockClock) <nil>,
       startTime: (time.Time) 2008-01-01 00:00:01 +0000 UTC
      }),
      DeploymentEnder: (*chaincfg.MedianTimeDeploymentEnder)(0xc0000a71a0)({
       blockClock: (chaincfg.BlockClock) <nil>,
       endTime: (time.Time) 2008-12-31 23:59:59 +0000 UTC
      })
     },
     (chaincfg.ConsensusDeployment) {
      BitNumber: (uint8) 22,
      MinActivationHeight: (uint32) 100000,
      CustomActivationThreshold: (uint32) 1815,
      DeploymentStarter: (*chaincfg.MedianTimeDeploymentStarter)(0xc0000a71d0)({
       blockClock: (chaincfg.BlockClock) <nil>,
       startTime: (time.Time) 0001-01-01 00:00:00 +0000 UTC
      }),
      DeploymentEnder: (*chaincfg.MedianTimeDeploymentEnder)(0xc0000a7200)({
       blockClock: (chaincfg.BlockClock) <nil>,
       endTime: (time.Time) 0001-01-01 00:00:00 +0000 UTC
      })
     },
     (chaincfg.ConsensusDeployment) {
      BitNumber: (uint8) 0,
      MinActivationHeight: (uint32) 0,
      CustomActivationThreshold: (uint32) 0,
      DeploymentStarter: (*chaincfg.MedianTimeDeploymentStarter)(0xc0000a7230)({
       blockClock: (chaincfg.BlockClock) <nil>,
       startTime: (time.Time) 2016-03-01 00:00:00 +0000 UTC
      }),
      DeploymentEnder: (*chaincfg.MedianTimeDeploymentEnder)(0xc0000a7260)({
       blockClock: (chaincfg.BlockClock) <nil>,
       endTime: (time.Time) 2017-05-01 00:00:00 +0000 UTC
      })
     },
     (chaincfg.ConsensusDeployment) {
      BitNumber: (uint8) 1,
      MinActivationHeight: (uint32) 0,
      CustomActivationThreshold: (uint32) 0,
      DeploymentStarter: (*chaincfg.MedianTimeDeploymentStarter)(0xc0000a7290)({
       blockClock: (chaincfg.BlockClock) <nil>,
       startTime: (time.Time) 2016-05-01 00:00:00 +0000 UTC
      }),
      DeploymentEnder: (*chaincfg.MedianTimeDeploymentEnder)(0xc0000a72c0)({
       blockClock: (chaincfg.BlockClock) <nil>,
       endTime: (time.Time) 2017-05-01 00:00:00 +0000 UTC
      })
     },
     (chaincfg.ConsensusDeployment) {
      BitNumber: (uint8) 2,
      MinActivationHeight: (uint32) 0,
      CustomActivationThreshold: (uint32) 1512,
      DeploymentStarter: (*chaincfg.MedianTimeDeploymentStarter)(0xc0000a72f0)({
       blockClock: (chaincfg.BlockClock) <nil>,
       startTime: (time.Time) 2021-04-24 00:00:00 +0000 UTC
      }),
      DeploymentEnder: (*chaincfg.MedianTimeDeploymentEnder)(0xc0000a7320)({
       blockClock: (chaincfg.BlockClock) <nil>,
       endTime: (time.Time) 2021-08-11 00:00:00 +0000 UTC
      })
     }
    },
    RelayNonStdTxs: (bool) true,
    Bech32HRPSegwit: (string) (len=2) "tb",
    PubKeyHashAddrID: (uint8) 111,
    ScriptHashAddrID: (uint8) 196,
    PrivateKeyID: (uint8) 239,
    WitnessPubKeyHashAddrID: (uint8) 3,
    WitnessScriptHashAddrID: (uint8) 40,
    HDPrivateKeyID: ([4]uint8) (len=4 cap=4) {
     00000000  04 35 83 94                                       |.5..|
    },
    HDPublicKeyID: ([4]uint8) (len=4 cap=4) {
     00000000  04 35 87 cf                                       |.5..|
    },
    HDCoinType: (uint32) 1
   }),
   TaroHRP: (string) (len=6) "tarotb"
  }),
  Version: (asset.Version) 0,
  Genesis: (asset.Genesis) {
   FirstPrevOut: (wire.OutPoint) 8970d859251d68bc706499f94b6513434d2aa89da3cb41da22b6b71090d10885:1,
   Tag: (string) (len=3) "\"x\"",
   Metadata: ([]uint8) {
   },
   OutputIndex: (uint32) 0,
   Type: (asset.Type) Normal
  },
  GroupKey: (*secp256k1.PublicKey)(<nil>),
  ScriptKey: (secp256k1.PublicKey) {
   x: (secp256k1.FieldVal) a837691871e3b2b252798ca63ca8449ddd4063c45ddbc5c25cbcc13f156ab4b3,
   y: (secp256k1.FieldVal) e6e149fbb6193e25a9fe3c8aafb3f42f8784950739af72f44f7c11e0aec2ef08
  },
  InternalKey: (secp256k1.PublicKey) {
   x: (secp256k1.FieldVal) 937e4c04d53576f5de16c4b8dcd6e1b608ca743fb3e54c44fc0a5ff7bccd806f,
   y: (secp256k1.FieldVal) bcbc4397a0ddab5cb2110a6fde4f724e94c6cfb5fd20621231ee3b6f2fa0bde0
  },
  Amount: (uint64) 4
 }),
 respChan: (chan *tarofreighter.PendingParcel) (cap=1) 0xc0007df4a0,
 errChan: (chan error) (cap=1) 0xc0007df440
})

2023-01-04 11:38:36.657 [INF] FRTR: Received to send request to: 2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b:02a837691871e3b2b252798ca63ca8449ddd4063c45ddbc5c25cbcc13f156ab4b3
2023-01-04 11:38:36.657 [INF] FRTR: ChainPorter advancing from state=SendStateInitializing to state=SendStateBroadcast
2023-01-04 11:38:36.661 [INF] FRTR: Selected 1 possible asset inputs for send to 02a837691871e3b2b252798ca63ca8449ddd4063c45ddbc5c25cbcc13f156ab4b3
2023-01-04 11:38:36.661 [WRN] FRTR: unable to advance state machine: input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset
2023-01-04 11:38:36.661 [ERR] RPCS: [/tarorpc.Taro/SendAsset]: input commitment does not contain asset_id=2955d75bc10b5ec255123414b42382f4d51b97ff22734ee7aebd255bd985f44b: send: Input does not contain requested asset

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (2 by maintainers)

Most upvoted comments

@jharveyb I used --enable-emission true. But had to restart tarod that it worked. Without the true it worked end-to-end. But the payment error I still get. will try now to get a second instance of lnd running.