IntersectMBO / cardano-cli

This repository contains sources for the command-line interface (CLI) tool for interacting with the Cardano blockchain.
Apache License 2.0
39 stars 14 forks source link

Submiting multiple certificates in single TX #645

Closed saratomaz closed 1 month ago

saratomaz commented 6 months ago

Description

Failing when submit (de)registration certificates in single TX and check that the order matter.

Steps to Reproduce

    * create stake address registration cert
    * create stake address deregistration cert
    * register, deregister, register, deregister and register stake address in single TX
    * check that the address is registered

Additional Context

cardano-cli conway transaction build 
--tx-in "0bb4d2b992b8de6413df83248b0bff0897f651c2ea172f14c1f4393e0d08ba35#0" 
--certificate-file "test_addr_registration_certificate_order[build]_ci0_kgf_addr0_stake_reg.cert" 
--certificate-file "test_addr_registration_certificate_order[build]_ci0_kgf_addr0_stake_dereg.cert" 
--certificate-file "test_addr_registration_certificate_order[build]_ci0_kgf_addr0_stake_reg.cert" 
--certificate-file "test_addr_registration_certificate_order[build]_ci0_kgf_addr0_stake_dereg.cert" 
--certificate-file "test_addr_registration_certificate_order[build]_ci0_kgf_addr0_stake_reg.cert" 
--change-address addr_test1qqculf5tdqnlu2gsmjacdy7ztu38kpwcevv78c5jhevgdame97j30x2g8veackte334psj0qjmazngp8q52hk4v9ztfqe0ayl7 
--witness-override 2 
--out-file "test_addr_registration_certificate_order[build]_ci0_kgf_reg_dereg_cert_order_tx.body" 
--testnet-magic 42
{
    "type": "CertificateConway",
    "description": "Stake Address Registration Certificate",
    "cborHex": "83078200581cd801c9c42cf6bf3b4cb37d3f39aac66ddb89c9595fa4034c9b2924f21a00061a80"
}
{
    "type": "CertificateConway",
    "description": "Stake Address Deregistration Certificate",
    "cborHex": "83088200581cd801c9c42cf6bf3b4cb37d3f39aac66ddb89c9595fa4034c9b2924f21a00061a80"
}

using cardano-node latest master

Possible Solution

If you have a potential solution to the problem, please describe it here.

carbolymer commented 6 months ago

@saratomaz Can you add which cardano-cli version are you using? What error are you getting in result?

saratomaz commented 6 months ago

We don't get an error when the transaction is submited, but after, if we check the address using:

cardano-cli conway query stake-address-info --address <stake_address>

nothing is returned

saratomaz commented 6 months ago

image

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 120 days with no activity. Remove stale label or comment or this will be closed in 60 days.