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

Feedback for small providers that getting wallet drained #180

Closed
2 tasks done
AramCoin opened this issue Jan 24, 2024 · 5 comments
Closed
2 tasks done

Feedback for small providers that getting wallet drained #180

AramCoin opened this issue Jan 24, 2024 · 5 comments
Assignees
Labels

Comments

@AramCoin
Copy link

Is your feature request related to a problem? Please describe.

I was trying to support the project and was providing resources at a low cost to help the project via the Preactor app.
Unfortunately, the system in place with create bid/ close bid / create lease (happening several times per day) / withdraw lease (everyday) & close deployment is generating too many transaction fees for no reason and drained my wallet of 5 AKT in 2 months.
So without GPU lease it does not make really sense to provide resources as small provider. (8CPU / 20GB RAM / 500GB storage)
I got 1 deployment of 2 CPU, 4.29GB RAM and 1GB storage only.
The drainage is clearly visible on my wallet : https://www.mintscan.io/akash/address/akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r

Describe the solution you'd like

One solution would be to have a minimum usage from the provider that at least covers the cost of these transactions. (somedays they are multiple) Or even better these transactions should not be in place at each request as the information of the providers specifications with cost is already available when registered.
The deployer could select the provider and then only the deployer would incur the cost of creating lease.
Closing deployment fees should be on the deployer cost and not the provider as it is deployer choice.

Describe alternatives you've considered

The alternative today is to shut down the provider unfortunately as the earnings were like 1 AKT but the transactions fees incurred were 5 AKT. so a negative ROI (-4 AKT) + the electricity bill not counted. If the team thinks about real decentralization, this is by letting small providers to be able to generate revenues. If not it will be large data centers that will only provide the necessary resources to the network at low cost. ( whish already seems to be over-concentrated to only few providers) If small providers have to increase their price to cover these fees then we are not competitive anymore.

Search

  • I did search for other open and closed issues before opening this

Code of Conduct

  • I agree to follow this project's Code of Conduct

Additional context

When people will realise that their wallet got drained because of the mechanism in place of the bids, they will complain and reject Akash network, even scream it as a scam... So maybe thinking about this could be a priority as it can blow up and provide wrong reputation for the long term. Especially since providers like me really want to help the project, I don't mind about the electricity fees, but losing tokens by providing resources does not make sense.the

@AramCoin AramCoin changed the title Feedback for small providers that getting wallet drain Feedback for small providers that getting wallet drained Jan 24, 2024
@chainzero chainzero added the P2 label Feb 21, 2024
@andy108369
Copy link
Contributor

Hi @AramCoin 👋

I apologize for the delayed response.

Unfortunately, the system in place with create bid/ close bid / create lease (happening several times per day) / withdraw lease (everyday) & close deployment is generating too many transaction fees for no reason and drained my wallet of 5 AKT in 2 months.

tl;dr

Your provider spent in total only 0.286393 AKT on the tx fees and earned 1.274841 AKT in the total.
Your provider didn't close the bid for dseq 14049715 and thus you still seeing 5 AKT missing in your provider wallet.

Make sure to close the open bid for dseq 14049715 by issuing the following command,
this will release the 5 AKT missing in your provider wallet account:

provider-services tx market bid close --owner akash1pe70udrxekg4asdxwdzljp7pspttxdrvxar9ca --provider akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r --oseq 1 --gseq 1 --dseq 14049715 

Your provider wallet is also delegating 6.5 AKT to the Praetor App validator.

Please let me know if you need any assistance.

More details

Wallet operations

Your provider address received 11 AKT in the total:

  • 10 AKT in 13855276 block
  • 1 AKT in 14707002 block

You have then delegated 6.5 AKT in block 14707681 to the Praetor App validator.

So in the total you have sent to your account: 11 AKT

Akash Provider operations

Total spent on fees: 0.286393 AKT

Total earned: 1.274841 AKT

Still locked in provider bid deposit escrow address: 5 AKT

$ provider-services query market bid get --owner akash1pe70udrxekg4asdxwdzljp7pspttxdrvxar9ca --provider akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r --oseq 1 --gseq 1 --dseq 14049715 
bid:
  bid_id:
    dseq: "14049715"
    gseq: 1
    oseq: 1
    owner: akash1pe70udrxekg4asdxwdzljp7pspttxdrvxar9ca
    provider: akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r
  created_at: "14049722"
  price:
    amount: "2.445410000000000000"
    denom: uakt
  resources_offer:
  - count: 1
    resources:
      cpu:
        attributes: []
        units:
          val: "2000"
      endpoints:
      - kind: SHARED_HTTP
        sequence_number: 0
      - kind: RANDOM_PORT
        sequence_number: 0
      gpu:
        attributes: []
        units:
          val: "0"
      id: 1
      memory:
        attributes: []
        quantity:
          val: "4000000000"
      storage:
      - attributes: []
        name: default
        quantity:
          val: "64424509440"
  state: open
escrow_account:
  balance:
    amount: "5000000.000000000000000000"
    denom: uakt
  depositor: akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r
  funds:
    amount: "0.000000000000000000"
    denom: uakt
  id:
    scope: bid
    xid: akash1pe70udrxekg4asdxwdzljp7pspttxdrvxar9ca/14049715/1/1/akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r
  owner: akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r
  settled_at: "14049722"
  state: open
  transferred:
    amount: "0.000000000000000000"
    denom: uakt

Chain analysis

Total earned by the provider - 1.274841 AKT:

$ provider-services query market lease list --provider akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r --page 1 --limit 1000 -o json | jq -r '([.leases[].escrow_payment.withdrawn.amount|tonumber] | add) / pow(10;6)'
1.274841

https://akash.network/docs/providers/provider-faq-and-guide/#provider-earnings-history

$ PROVIDER=akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r; STEP=23.59; BLOCK_TIME=6; HEIGHT=$(provider-services query block | jq -r '.block.header.height'); for i in $(seq 0 600); do BLOCK=$(echo "scale=0; ($HEIGHT-((60/$BLOCK_TIME)*60*($i*$STEP)))/1" | bc); HT=$(provider-services query block $BLOCK | jq -r '.block.header.time'); AL=$(provider-services query market lease list --height $BLOCK --provider $PROVIDER --gseq 0 --oseq 0 --page 1 --limit 200 --state active -o json | jq -r '.leases | length'); DCOST=$(provider-services query market lease list --height $BLOCK --provider $PROVIDER --gseq 0 --oseq 0 --page 1 --limit 200 -o json --state active | jq --argjson bt $BLOCK_TIME -c -r '(([.leases[].lease.price.amount // 0|tonumber] | add)*(60/$bt)*60*24)/pow(10;6)'); BALANCE=$(provider-services query bank balances --height $BLOCK $PROVIDER -o json | jq -r '.balances[] | select(.denom == "uakt") | .amount // 0|tonumber/pow(10;6)'); IN_ESCROW=$(echo "($AL * 5)" | bc); TOTAL=$( echo "($BALANCE+$IN_ESCROW)" | bc); printf "%8d\t%.32s\t%4d\t%12.4f\t%12.6f\t%4d\t%12.4f\n" $BLOCK $HT $AL $DCOST $BALANCE $IN_ESCROW $TOTAL; done
block height, timestamp, active leases, daily earning, balance, AKT in escrow, total balance (AKT in escrow + balance)

17309683	2024-07-24T11:42:51.546596333Z	   0	      0.0000	    0.462964	   0	      0.4630
17295529	2024-07-23T11:53:43.560030085Z	   0	      0.0000	    0.462964	   0	      0.4630
...
...
14733655	2024-01-26T15:09:24.691900008Z	   0	      0.0000	    0.462964	   0	      0.4630
14719501	2024-01-25T15:42:44.472670307Z	   0	      0.0000	    0.462964	   0	      0.4630

14707681 - 6.5 AKT delegated to Praetor App validator TX https://www.mintscan.io/akash/tx/423D444711E24D225AA4A6FA4A3BAE1E494A6818A7A4E61EB164D4B0435B3636?height=14707681
14707002 - 1 AKT received https://www.mintscan.io/akash/tx/BD040BBEEC396C19DB4F8EFAA1895EA9D6D2F9FE7105E461E7E0CA3CA80172E8?height=14707002

14705347	2024-01-24T16:17:28.85700459Z	   1	      0.0216	    0.000333	   5	      5.0003
14691193	2024-01-23T16:51:17.045569194Z	   1	      0.0216	    0.000333	   5	      5.0003
14677039	2024-01-22T17:19:13.594219582Z	   1	      0.0216	    0.000333	   5	      5.0003
14662885	2024-01-21T17:48:02.432652812Z	   1	      0.0216	    0.000333	   5	      5.0003
14648731	2024-01-20T18:18:15.543521348Z	   1	      0.0216	    0.000333	   5	      5.0003
14634577	2024-01-19T18:48:56.873364462Z	   1	      0.0216	    0.000333	   5	      5.0003
14620423	2024-01-18T19:16:45.536458989Z	   1	      0.0216	    0.000333	   5	      5.0003
14606269	2024-01-17T19:44:28.28618299Z	   1	      0.0216	    0.000333	   5	      5.0003
14592115	2024-01-16T20:12:35.248476817Z	   1	      0.0216	    0.000333	   5	      5.0003
14577961	2024-01-15T20:21:26.509427319Z	   1	      0.0216	    0.000333	   5	      5.0003
14563807	2024-01-14T20:50:15.725441297Z	   1	      0.0216	    0.000333	   5	      5.0003
14549653	2024-01-13T21:17:18.144971867Z	   1	      0.0216	    0.000333	   5	      5.0003
14535499	2024-01-12T21:47:32.441162819Z	   1	      0.0216	    0.000333	   5	      5.0003
14521345	2024-01-11T22:18:32.840000645Z	   1	      0.0216	    0.000333	   5	      5.0003
14507191	2024-01-10T22:46:34.954950629Z	   1	      0.0216	    0.000333	   5	      5.0003
14493037	2024-01-09T23:14:22.388873901Z	   1	      0.0216	    0.000333	   5	      5.0003
14478883	2024-01-08T23:39:13.824453629Z	   1	      0.0216	    0.000333	   5	      5.0003
14464729	2024-01-08T00:05:53.739890707Z	   1	      0.0216	    0.000333	   5	      5.0003
14450575	2024-01-07T00:33:46.208425933Z	   1	      0.0216	    0.000333	   5	      5.0003
14436421	2024-01-06T01:03:52.177803195Z	   1	      0.0216	    0.000333	   5	      5.0003
14422267	2024-01-05T01:34:52.881176814Z	   1	      0.0216	    0.000333	   5	      5.0003
14408113	2024-01-04T01:56:55.961215587Z	   1	      0.0216	    0.000333	   5	      5.0003
14393959	2024-01-03T02:20:33.838325086Z	   1	      0.0216	    0.000333	   5	      5.0003
14379805	2024-01-02T02:49:28.906681886Z	   1	      0.0216	    0.000333	   5	      5.0003
14365651	2024-01-01T03:21:17.693623564Z	   1	      0.0216	    0.000333	   5	      5.0003
14351497	2023-12-31T03:52:56.195084633Z	   1	      0.0216	    0.000333	   5	      5.0003
14337343	2023-12-30T04:22:53.994050938Z	   1	      0.0216	    0.000333	   5	      5.0003
14323189	2023-12-29T04:51:09.128999861Z	   1	      0.0216	    0.000333	   5	      5.0003
14309035	2023-12-28T05:17:58.510937396Z	   1	      0.0216	    0.000333	   5	      5.0003
14294881	2023-12-27T05:47:43.827205117Z	   1	      0.0216	    0.000333	   5	      5.0003
14280727	2023-12-26T06:17:43.796123731Z	   1	      0.0216	    0.000333	   5	      5.0003
14266573	2023-12-25T06:47:48.063245281Z	   1	      0.0216	    0.000333	   5	      5.0003
14252419	2023-12-24T07:16:52.413426593Z	   1	      0.0216	    0.000333	   5	      5.0003
14238265	2023-12-23T07:43:38.204577917Z	   1	      0.0216	    0.000333	   5	      5.0003
14224111	2023-12-22T08:08:56.865792207Z	   1	      0.0216	    0.000333	   5	      5.0003
14209957	2023-12-21T08:35:47.369385699Z	   1	      0.0216	    0.000333	   5	      5.0003
14195803	2023-12-20T09:04:06.685352567Z	   1	      0.0216	    0.000333	   5	      5.0003
14181649	2023-12-19T09:34:11.722874554Z	   1	      0.0216	    0.000333	   5	      5.0003
14167495	2023-12-18T10:07:13.991176873Z	   1	      0.0216	    0.000333	   5	      5.0003
14153341	2023-12-17T10:38:14.271497468Z	   1	      0.0216	    0.000333	   5	      5.0003
14139187	2023-12-16T11:04:14.926681616Z	   1	      0.0216	    0.000333	   5	      5.0003
14125033	2023-12-15T11:29:41.256935883Z	   1	      0.0216	    0.000333	   5	      5.0003
14110879	2023-12-14T11:53:41.708177104Z	   1	      0.0216	    0.000333	   5	      5.0003
14096725	2023-12-13T12:17:17.756526397Z	   1	      0.0216	    0.000333	   5	      5.0003
14082571	2023-12-12T12:43:50.354208267Z	   1	      0.0216	    0.000333	   5	      5.0003
14068417	2023-12-11T13:13:43.878151508Z	   1	      0.0216	    0.000333	   5	      5.0003
14054263	2023-12-10T13:42:46.558172801Z	   1	      0.0216	    0.000333	   5	      5.0003
14040109	2023-12-09T14:14:01.275455711Z	   1	      0.0216	    5.001359	   5	     10.0014
14025955	2023-12-08T14:46:07.316736129Z	   1	      0.0216	    5.002129	   5	     10.0021
14011801	2023-12-07T15:16:08.181814279Z	   1	      0.0216	    5.001272	   5	     10.0013
13997647	2023-12-06T15:45:09.324212182Z	   1	      0.0216	    5.003680	   5	     10.0037
13983493	2023-12-05T16:15:47.388432473Z	   1	      0.0216	    5.003171	   5	     10.0032
13969339	2023-12-04T16:50:33.858061821Z	   1	      0.0216	    5.002690	   5	     10.0027
13955185	2023-12-03T17:20:47.837274552Z	   1	      0.0216	    5.001592	   5	     10.0016
13941031	2023-12-02T17:49:29.329949359Z	   1	      0.0216	    5.000623	   5	     10.0006
13926877	2023-12-01T18:22:18.573839253Z	   1	      0.0216	    5.003121	   5	     10.0031
13912723	2023-11-30T18:55:04.892297518Z	   1	      0.0216	    4.998602	   5	      9.9986
13898569	2023-11-29T19:26:36.65037496Z	   1	      0.0216	    4.986508	   5	      9.9865
13884415	2023-11-28T19:50:19.268990954Z	   1	      0.0216	    4.974815	   5	      9.9748
13870261	2023-11-27T19:58:01.676878791Z	   1	      0.0216	    4.962810	   5	      9.9628
13856107	2023-11-26T20:27:35.236399652Z	   0	      0.0000	    9.982193	   0	      9.9822

13855276 - 10 AKT received https://www.mintscan.io/akash/tx/7F2A1B6C466E6DF39DE1740530A382D8CB54250688539EAC4A0AD2D3D2209324?height=13855276
  • Finding total spent on the fees:
$ akash query txs --events "message.sender=akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r" --page 1 --limit 1000 -o json | jq -r '.txs[] | [.timestamp, .txhash, .height, (.tx | (.auth_info.fee.amount[0].amount + "uakt"), (.body.messages[] | ."@type", (.id | (.dseq, .owner))))] | @csv'
"2023-11-26T19:18:19Z","DA296AD54AB86420153E53ED242A8CA57274D77174E5134A1EC9BF3B2C67CD43","13855411","1824uakt","/akash.provider.v1beta3.MsgCreateProvider",,
"2023-11-26T19:18:31Z","AF75766ECFB627AAF63352EAA8D78909DA8DA992AC6AEC87EF8589D4C7EB0A1F","13855413","2693uakt","/akash.cert.v1beta3.MsgCreateCertificate",,
"2023-11-26T19:33:32Z","771A85EDD9697903B8BB3DAD049E93DA39BAF60732E39109DF582AF269C5E9EA","13855564","2794uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T20:15:16Z","1085BC4A7040660593DCAB4CAC46B3874CC472DF2D6EB78CB0AF05EA89CADA94","13855983","3186uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T20:17:09Z","B7847F0CD79AF2E76CD9656D68109D952022DBEF37621900521033A3BC7B3F67","13856002","3649uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T20:23:55Z","EFDCC6913E51ED81506C987D75772D7F249BE87E24AC8051BB8AA0FF4D77491B","13856070","3661uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T21:08:31Z","177841D0065D67EB2F8BA22B43F8914346A3B779BEE2E49DDED2A1F976A4A021","13856518","2789uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T22:16:22Z","1A5D047420668F7442EE49F5B351F9DDD480FF50BFA39A992AF0C04F36627362","13857198","3263uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T22:39:41Z","01B25E84F65B6E9FCEE3D1FE7E7C3C1C6ACE510C0458580EFFD88E24B218600D","13857433","3189uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T22:46:18Z","68241BD93A9556112A060ECC0875D93E5B9E134CF90A75202A5094D529F231A4","13857499","3526uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T22:51:41Z","72D6ADDD7C06CD045EAD12A6E9290AD56D167B4AE0BBE7B855056E6E961CB529","13857553","3553uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T23:04:31Z","B99A209E4F24C6C671D65612D5A190D2522B52C9FDECC78149BAEEAD6B169580","13857682","3189uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T23:12:09Z","E26372580491CB6676FCA753F83664ECC6D7FE493F910AC99709A6B8DB3B1B0E","13857758","3189uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-26T23:38:33Z","3B0FF10D1E5D6A97C9C6606839F64B76A92CEAF17F1169980A83131D9374BB23","13858023","3189uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-11-27T11:40:17Z","F3BD73A4C8A3EBF2B873F190A99BF1816FB075BA2B14A62D87D2A551E57B87BB","13865270","4587uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-27T23:40:18Z","84F1EA8F17732E123D0E97DB5BCC1B4DC335CC89D19D785067D90A5AD27219A0","13872480","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-28T11:40:16Z","859A6565EB1E043278DF568E73DDDABA467A766DF931FD0AD06C59AF444B37A6","13879681","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-28T23:40:20Z","CC548C783880B64986A1BD1CA0757589ADB41C99E268015DACCA10713D61879D","13886680","4598uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-29T11:40:19Z","4A2D1CF9CB291516391B3A935881F588E00EB59CCD990F4C0DAE331673D459CF","13893881","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-29T23:40:18Z","E6AD91DBF0A19E753F3E2FAA54B4F502C494D85394AAC150E77CD4C81E07455F","13901118","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-30T11:40:21Z","112F0EEE3902C8D22BC25244ADB8A0EE5228EC043DE391C9447B0DC0DE26BF0F","13908353","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-30T23:40:25Z","226DECDF77361163A83B3E8EB84E1F69C70D1E23AF59FA1526D7BED70DF61B46","13915591","4599uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-11-30T23:57:48Z","7D27EEE7A9A17A900314FBDFAB5B0F7F593BED495DC0F268FB787DEB9D688F6A","13915766","3823uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-01T11:40:27Z","B95EC4A1291E6B7FA3A128805062274B20A09119DCE062ADC2B52A2F8D585260","13922834","4597uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-01T12:19:52Z","2E845EF5BC4D01ABB496455C7F582ACEF337C2224A008D91AE114EA7859C4B4C","13923231","3764uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-01T23:40:22Z","FC6016700EB69BE5D0DB67AC8AFD4B0D6426F9667A4AA57C4ABE7BBCB4716A80","13930076","4598uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-02T04:20:25Z","F5E72961E0F2486D3678EEE10565AED03B9F58D7A984EAC44A907159AA297154","13932894","3178uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-02T06:12:01Z","643CEADD19F887F3873B94E054D0F40C3E821FAB4BA435A9769B69CBD96513A1","13934016","3937uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-02T11:40:24Z","C931550361D815E23113ACE6717FB99686B8636D6125F9907EBEB80A731DFD2D","13937319","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-02T12:50:25Z","3CA355E4330F535357F8228EE33E0F903AB0CD582D6819FB082B4FA22B14F44B","13938023","3745uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-02T12:52:14Z","4D9CCF9E041F7A307303371034F11480AE573DBA0F9EF9168D684C4FC7867CCE","13938041","3747uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-02T23:40:25Z","EDCB6ED189768F700F9496F3E102684077C5CDD210C964E903B10C1B492689C8","13944554","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-03T06:33:07Z","DEA11450632293BCF15A23E8CD24AC536BEF7D1AAB9CEA919E24BFD613A26312","13948691","3516uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-03T11:40:33Z","A81FF6E6BCEC0EB76944FF79BBA2587AE772CFE7702EFAE24903A1A7E2EA0941","13951766","4602uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-03T14:14:52Z","CA74E3CE5031BAACE3C096BB50A5851904A17D97DF937C7B89318DC3B471F0C2","13953314","3820uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-03T14:38:29Z","08729C0AEC2058FF380A7BD4B4186F8F4E803929070E0ACAACB6FA6AF4BC51A8","13953551","3744uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-03T23:40:50Z","E449F18A240481B13CA8D92D117B8F722AD7BBF81C8BD200F30ED5663DE4E714","13959002","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-04T00:20:58Z","049A0DB3B6EE9139E3F7CA37F0035E87522D19182903C51E1828C36566C35537","13959405","3278uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-04T00:26:01Z","F3DF2C778780872AAB527EB3DA1E2B9A0937F6E0599CC109AEF83F6800245484","13959456","3643uakt","/akash.market.v1beta4.MsgCloseBid",,
"2023-12-04T11:40:46Z","184267A290625C72B51EF1D367AAA4E3F00F9D750E90C6CEDFBF9581981BB340","13966231","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-04T11:45:21Z","1DD88056CD5B737627B974606EA82DDD06C1455FD475CE9E0529B58F052E52F9","13966277","4057uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-04T23:40:48Z","D72A7E852FD534D7E489437027C689CDEC0CC9DBF2D8EB1EA3F2C076BE32EDA1","13973466","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-05T00:01:46Z","8D0E41FBD563C0D0B6D9F9F67A00CDC371D9F5F59621B51EEE9214339BFB3221","13973678","3847uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-05T00:14:11Z","5CF06CF5C26450B307AE003D7CA7DCC858C60624AFA9F2AD3FEC27635BDC7D3E","13973803","3729uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-05T11:40:49Z","DDB0E2D3A3756923E80E1CA16D56B56AE775D03D2B2C9D6F99240554AA6DE29E","13980726","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-05T11:52:15Z","0C080719C894A6CD72C9FAB4C20ECFBB53021ABE16526DCBDE6489EC5B583606","13980841","4064uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-05T23:40:49Z","88F055D5B2AAE7ED228F2CCE5C4803A5594F72CEA64A1A27A1139EE79774503E","13987969","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-05T23:58:29Z","6BAA61443C62F8520CFE97558514B0ABBB8ED82F3F4A7AE76601843D4C5FF89A","13988147","3927uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-06T01:25:26Z","58ADADBE3CEEB8EE09FEBB1B39B55777D8BAABC80BE31B8B07BE49DD78705537","13989023","3707uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-06T11:40:47Z","EE3152AAB8E31CB33B6F17E0BD2E167F2C4E682461D91AA6F942562A5AE2F9B7","13995197","4600uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-06T12:42:07Z","4626F9778664C63E5D4F53EA01871B1A677264DC9FBC40C71A02D11AC1E4C221","13995810","3944uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-06T23:40:50Z","5112E312CA9D11196D9AA315CE3B3E3802B537E3E318E3B2D2137CF59D4911B5","14002426","4603uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-06T23:44:21Z","A5037E23CFEC9FA047D4B2517D669E6691E3374771DD7B5EF95C8E520E73D5ED","14002461","3666uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-07T02:22:45Z","DE4B58EC47EF2FED82AD1796B531588C1F584D784DD02518CE44116D2A49E15A","14004041","3660uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-07T11:40:58Z","231C1189CC3C1BCD36CD1DE1BC6A1F98D6CF386DE6F2EC70BBE296229D84095A","14009644","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-07T13:46:44Z","0EF3ED355E0399E01BF80D7D3155504935501FB0A16FAC32750348EC0183D4F6","14010906","3560uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-07T13:51:55Z","1DF0B6133081795B3D720698B021E7434B0A56D953292C4F4C7C27C00AEBDD72","14010958","3570uakt","/akash.market.v1beta4.MsgCloseBid",,
"2023-12-07T23:40:59Z","AAFE83E1AEABE46FF327A4C0345FDFFAC42A12C4C25AB379033AAA465BCE7EC8","14016864","4601uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-08T00:10:09Z","CFE934AA7B5CDD8FB96D19706A566B1D53F20EDA2EC692371786D511CF9BCA2E","14017158","4061uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-08T11:40:55Z","C5D8AE67750DCFCD1AE231989E13A179FAFACDDA7FE327B13F8E772EE9942D08","14024092","4602uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-08T12:19:12Z","754B28740869E86FFDB904F047A86128F0EA56B1B01130262154DF61489BAB79","14024477","3752uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-08T13:45:36Z","596570E83E6FC204E9DF4DB2292C00EB0C45F72B2B8B66036E0565D11B85AFDD","14025347","3381uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-09T01:07:45Z","5F32B4F1B4BCF4C068AA3E95CA7D0BFBC7ACAAD12D0D54DF2E5078DCE8DAB843","14032207","4602uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-09T01:56:30Z","9F3731427F60C971932A1864CC367D6A766524267E8F26CC440954841E6CE576","14032697","3181uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-09T02:01:34Z","6EF913031AB37A833A20FCC81A5047DF595BEFCDCD015585ADB35007EDDF5768","14032748","3561uakt","/akash.market.v1beta4.MsgCloseBid",,
"2023-12-09T13:07:44Z","BED90711979E4CC77CF79B6A6D99351B7CF5906DF6D1BB63EED1ED3ED0DA2AAA","14039443","4603uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-09T13:27:26Z","201C213B403C4266874ADCED72614B1372FA6E79E9B33553E1EB00183D825AD9","14039641","3840uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-09T13:32:37Z","19ED604D5E54792E5D99528EDB4B503C99F0A172A7ACFA61C44423AF8637FC85","14039693","3565uakt","/akash.market.v1beta4.MsgCloseBid",,
"2023-12-10T01:07:47Z","5821368A7E828EFA428037C763EEAD26F6A42C4B805ABD9195AD522760CC71D2","14046677","4604uakt","/akash.market.v1beta4.MsgWithdrawLease",,
"2023-12-10T06:09:21Z","5C939BAE3660970999C3B79DBB92DA984231CCE4821B5400A1C6BD9CF7428FB5","14049707","3183uakt","/akash.market.v1beta4.MsgCreateBid",,
"2023-12-10T06:10:50Z","A56B118227CA6E23D5A0DAA781E947B776030A037017700138264FAA16F2441B","14049722","3880uakt","/akash.market.v1beta4.MsgCreateBid",,
"2024-01-24T19:07:54Z","92146A5CEA8CF67ABCED690734CE6935B6E006D51C364F45E212D1716DCB33FE","14707060","7028uakt","/akash.market.v1beta4.MsgCloseBid",,
"2024-01-24T20:09:55Z","423D444711E24D225AA4A6FA4A3BAE1E494A6818A7A4E61EB164D4B0435B3636","14707681","1752uakt","/cosmos.staking.v1beta1.MsgDelegate",,
  • Total spent on the fees 0.286393 AKT

Total TXs: 73

$ akash query txs --events "message.sender=akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r" --page 1 --limit 1000 -o json | jq -r '.txs[] | [(.tx | (.auth_info.fee.amount[0].amount + "uakt"))] | add' | wc -l
73

Total sepnt on the fees:

$ akash query txs --events "message.sender=akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r" --page 1 --limit 1000 -o json | jq '[.txs[].tx.auth_info.fee.amount[0].amount | tonumber] | add | tostring + "uakt"'
"286393uakt"
286393/10^6 = 0.286393

@AramCoin
Copy link
Author

AramCoin commented Jul 24, 2024

Dear Andy,

Thank you for the details, but your "Total spent fees" are incorrect as you did not consider the "create lease" and "close deployment" fees that occur with higher transaction fees.
You can clearly see them on https://www.mintscan.io/akash/address/akash1p6gzadp4dn5rxd7f32rkwvtr9gxjzmzal65e5r
example block: 13855578, 13856004,13856083,13857200...etc

Exactly as you wrote, I had funded the wallet of 10 AKT, and put 5 AKT in escrow to be a provider. So, the remaining 5 AKTs in the wallet were drained due to the fees.
From the 10th December, the wallet did not had enough funds to continue the process.

I then contacted Praetor on 24th January and received 1 AKT from their support team (as my wallet was drained) to be able to close the lease manually and get back my ESCROW of 5 AKT and some of the earnings.

that is why I do not understand your comments" Your provider didn't close the bid for dseq 14049715 and thus you still seeing 5 AKT missing in your provider wallet." as I got the 5 AKT of ESCROW back. Is it a different spend than the escrow?

This is how I delegated 6.5 AKT on 25th January. ( 5 AKT from escrow +1 AKT received and a little from the earnings)

To resume: 11 AKT(received) +1.27 AKT(earned) - 6.5 AKT(delegated) -0.46AKT(wallet remaining) = 5.31 AKT drained on fees only.
This was my concern that small providers would not make sense.
And you see it in some way here:
14054263 2023-12-10T13:42:46.558172801Z 1 0.0216 0.000333 5 5.0003
14040109 2023-12-09T14:14:01.275455711Z 1 0.0216 5.001359 5 10.0014

My understanding is that the balance was reduced due to the transaction fees... as I got back my escrow when I closed the lease.

Please advise if this is incorrect.

Thanks.

@andy108369
Copy link
Contributor

andy108369 commented Jul 24, 2024

Hi @AramCoin

Those 5 AKT aren't the AKT drained nor the fees, but rather the AKT temporarily put by the provider into the escrow account for the bid.

Also, since governance proposal 248 the bid deposit has been lowered from 5 to 0.5 AKT.
This means you don't have to keep too much of AKT on your provider balance for it to be able to bid.

Right now the bid for dseq 14049715 is still open.
You will get your 5 AKT back to your provider wallet when you close that bid.
The command to close it is provided above.

Providers normally have 5 minutes bid timeout by default and yours didn't timeout for one of the reasons:

  • provider was stopped within 5 minutes time window; (less likely)
  • provider didn't have enough funds to issue close bid transaction (most likely the case)
  • provider set too high custom value for the bid timeout; (least likely)

You can read more on the bid deposits and escrow account here https://akash.network/docs/getting-started/intro-to-akash/payments/

Hope that helps.
Let me know if you have any further questions/concerns.

@andy108369
Copy link
Contributor

andy108369 commented Jul 24, 2024

"create lease" and "close deployment" fees

@AramCoin these ones aren't broadcasted by the provider address, and cannot.
These txs can only be broadcasted by the lease/deployment owner and against their dseq (deployment sequence number) they have received when they broadcasted their deployment order request. Hence, these shouldn't be counted as the provider fees, but rather the deployment owner (aka client) fees.

You can double check this by checking who is the tx owner - is not your provider address, hence isn't your provider who paid the fees associated with these txs, but the deployment/lease owner:

@andy108369
Copy link
Contributor

@AramCoin I'll close this issue for now.
Please feel free to reopen in case of further questions/clarifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants