cardano-community / guild-operators

Artifacts and scripts created by Guild operators
https://cardano-community.github.io/guild-operators
MIT License
354 stars 177 forks source link

Error while trying to modify pool parameters #819

Closed edridudi closed 3 years ago

edridudi commented 3 years ago

Error after Trying to Modify Pool Parameters:

Steps to reproduce: ./cntools -> Pool -> Modify -> Hybrid -> -> ... Change Parameters ...

 >> POOL >> MODIFY

Online mode - The default mode to use if all keys are available

Hybrid mode - 1) Go through steps to build a transaction file

            2) Copy built tx file to offline computer

            3) Sign it using 'Sign Tx' with keys on offline computer

               (CNTools started in offline mode '-o' without node connection)

            4) Copy the signed tx file back to online computer and submit using 'Submit Tx'

Selected value: [h] Hybrid

Select pool

Selected pool: Cardano_Israel

Pool Parameters

Old registration values shown as default, press enter to use default value

Pledge (in Ada, default: 2,700): 2700 Margin (in %, default: 0): 0 Cost (in Ada, minimum: 340, default: 340): 340

Pool Metadata

Enter Pool's JSON URL to host metadata file - URL length should be less than 64 chars (default: https://reina-spa.herokuapp.com/poolmeta.json): https://www.cardano-israel.com/poolmeta.json

{ "ticker": "ISR", "name": "Cardano Israel", "description": "Official Stake Pool of Israel's Cardano Community.", "extended": "https://www.cardano-israel.com/extended-meta.json", "homepage": "https://www.cardano-israel.com" }

Metadata exists at URL. Use existing data? Selected value: [y] Yes

Pool Relay Registration

Previous relay configuration:

TYPE ADDRESS PORT IPv4 104.248.143.61 6000 IPv4 79.182.170.70 6000

Reuse previous relay configuration? Selected value: [n] No Selected value: [4] IPv4 address (multiple) Enter relays's IPv4 address: 104.248.143.61 Enter relays's port: 6000 Add more relay entries? Selected value: [y] Yes Selected value: [4] IPv4 address (multiple) Enter relays's IPv4 address: 139.59.177.20 Enter relays's port: 6000 Add more relay entries? Selected value: [n] No

Previous Owner(s)/Reward wallets

Owner wallet #1 : Reward wallet :

Reuse previous Owner(s)/Reward wallets? Selected value: [y] Yes

How long do you want the transaction to be valid? TTL (in seconds, default: 1800/30min): Missing: (--tx-in TX-IN)

Usage: cardano-cli transaction build-raw [--byron-era | --shelley-era | --allegra-era | --mary-era] (--tx-in TX-IN) [--tx-out TX-OUT] [--mint VALUE] [--invalid-before SLOT] [--invalid-hereafter SLOT] [--fee LOVELACE] [--certificate-file FILE] [--withdrawal WITHDRAWAL] [--json-metadata-no-schema | --json-metadata-detailed-schema] [--script-file FILE] [--metadata-json-file FILE | --metadata-cbor-file FILE] [--update-proposal-file FILE] --out-file FILE Build a transaction (low-level, inconvenient)

ERROR: failure during pool modify!

press any key to return to home menu

Scitz0 commented 3 years ago

Is this with CNTools 8.0.0 ? Please provide the output of Wallet >> Show for Owner wallet. Feel free to blank out any numbers if you feel more comfortable.

edridudi commented 3 years ago

yes it is 8.0.0

 >> WALLET >> SHOW

Wallet: skyHawk

0 UTxO(s) found for Base Address!

ASSET SUMMARY: 1 Asset-Type(s)

Total Amount | Asset -------------+------- 0 | Ada



Registered           : YES
Address              : --------
Enterprise Address   : --------
Reward/Stake Address : ---------
Rewards Available    : 0 Ada
Funds + Rewards      : 0 Ada
Encoding             : bech32

Delegated to Cardano_Israel
(pool12yscr8j3zs34ewxrwlk0p2w5uvgcnrzywpp78ddjsj8kxd530f9)

On Mon, Mar 1, 2021 at 1:16 AM Ola [AHLNET] <notifications@github.com>
wrote:

> Is this with CNTools 8.0.0 ?
> Please provide the output of Wallet >> Show for Owner wallet.
> Feel free to blank out any numbers if you feel more comfortable.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/cardano-community/guild-operators/issues/819#issuecomment-787543418>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AA5EJ6S6I5XWNEA6FWZRZYDTBLFEVANCNFSM4YLRKK7A>
> .
>
Scitz0 commented 3 years ago

So that's your problem. CNTools cant find any UTxO on the wallet. Did you import mnemonic or hardware wallet? And if so, did you move funds around using Daedalus / Yoroi? If so founds could have ended up on a different address than the first that CNTools extract.

edridudi commented 3 years ago

It's a mnemonic wallet. I didn't move any funds I only delegated to my own pool. maybe this is the problem? looking in my Daedalus wallet I do have an amount of ada. also the first receive address is the same address as in cntools

On Mon, Mar 1, 2021 at 1:22 AM Ola [AHLNET] notifications@github.com wrote:

So that's your problem. CNTools cant find any UTxO on the wallet. Did you import mnemonic or hardware wallet? And if so, did you move funds around using Daedalus / Yoroi? If so founds could have ended up on a different address than the first that CNTools extract.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cardano-community/guild-operators/issues/819#issuecomment-787544210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5EJ6QESOW3YYZ5A24XJS3TBLFZXANCNFSM4YLRKK7A .

Scitz0 commented 3 years ago

You need to send all Ada in your wallet to the first address, also shown in CNTools as base address for the wallet. This will defrag the wallet and put all Ada in the first address. After this, please only use CNTools to transfer funds, else the balance won't match as explained when you imported the wallet.