Giter Club home page Giter Club logo

bcna's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bcna's Issues

Error sending a legacy GOV param-change proposal

Trying to send this "legacy" proposal at bcnad v3.x (Cosmos SDK v0.47):

bcnad tx gov submit-legacy-proposal param-change proposal_change_params_maxbytes.json --note "anti-flood" --gas auto --gas-adjustment 1.5 --gas-prices 0.001ubcna --from resources

{
"title": "Change maximum block size from 21 MB to 1MB",
  "description": "## TL:DR: \n- following a reported security advise it is recommended to make the maximum allowed block size of the BitCanna chain smaller\n- passing this proposal lowers the maximum allowed block size from 21 MB to 1 MB\n- since we use 300kB for our biggest blocks, the new maximum allowed block size still leaves a lot of room for growth\n## Description: \nIn a reported security advise (Amulet Security Advisory ASA-2023-002 and based on research from Jacob Gadikian for whom is interested) it was advised to investigate the maximum block size a chain needs.\n\nWhy are we doing this? For this we need to look at what happened elsewhere in the ecosystem. Recently we have seen spam on for example Osmosis where bots are spamming large amounts of data on chain. This causes the chain to have difficulties handling all transactions and resulting in the inability for users to use the chain (Osmosis in this case).\n\nOne counter-measure is reducing the maximum allowed size of each block. In our current settings this is limited to 21 MB, but our data shows that we are using only a fraction of that (maximum of 300kB per block).\n\nWe propose to change the maximum allowed block size to 1 MB. This is still 3 times higher than our current observed maximum, allowing for room to grow; but small enough to be prepared for on chain spam.\n\nFind more information about parameters for blocks here:\nhttps://docs.cometbft.com/v0.34/spec/abci/apps#blockparamsmaxbytes",
  "changes": [
    {
      "subspace": "baseapp",
      "key": "BlockParams",
      "value":{"max_bytes":"1048576"} 
    }
  ],
  "deposit": "50000000000ubcna"
}

We get this error:

8:58AM ERR failure when running app err="rpc error: code = Unknown desc = rpc error: code = Unknown desc = failed to execute message; message index: 0: got metadata with length 1449: metadata too long [/home/raul/go/pkg/mod/cosmossdk.io/[email protected]/errors.go:155] With gas wanted: '18446744073709551615' and gas used: '45675' : unknown request"

DEVNET-6 State Sync `ERR snapshot manager not configured`

Version v2.0.0-beta

4:27PM INF Added peer module=p2p peer={"Data":{},"Logger":{}}
4:27PM INF sync any module=statesync msg={}
4:27PM INF Discovered new snapshot format=2 hash="�\x13\x13�z���\u2060\x14V\x02�\x02\x1f�a\x00�D\x10�ǎ�\x12p;��" height=163400 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="<E0��~��\n�\r����m7�eX|k�ꟸG�����" height=163390 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="\x15���\a�;���f)\x19\x02�H�79\bPJ\\^�֨��<\x10�" height=163380 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="�ܝ~�1jД~�Ŋș+�{*K�OQJ�>4A��g�" height=163370 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="|�8�t�gD\x034ְ�G��=\x1f��e\x0fE�\f7�(�1U\x10" height=163360 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="X�%o��\x16�f��j���6f +���ㅑ���q\t\t#" height=163350 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="y\x11%�=G��\r��@|\x12�\x17N�\x0fl�[5��\fgG�u�{" height=163340 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="A\t����7b\n2\n6��\x06@>ƘƯ\x1e��g\x1c.\x1c\x19B-�" height=163330 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="�\"��\\\x18�G\x1c\x1f�$\rRk?DM~eURk%�΅�0�A�" height=163320 module=statesync
4:27PM INF Discovered new snapshot format=2 hash="q\x10|�\x13PX)ޮ�\a\n�'G\x1az�H��lW8��A��\x02�" height=163310 module=statesync
4:27PM INF VerifyHeader hash=00BA4DA0225F24462020EC540048185BACD01B69339FB2A1B64959D1AE5FD2F3 height=163401 module=light
4:27PM INF VerifyHeader hash=3F222D406D884122DFF7A329CEE6BF2D26CC1C2D7851604DA2C10C0A51203E70 height=163402 module=light
4:27PM INF Offering snapshot to ABCI app format=2 hash="�\x13\x13�z���\u2060\x14V\x02�\x02\x1f�a\x00�D\x10�ǎ�\x12p;��" height=163400 module=statesync
4:27PM ERR snapshot manager not configured
4:27PM ERR State sync failed err="state sync aborted" module=statesync
^C4:27PM INF service stop impl={"Logger":{}} msg={}
4:27PM INF Stopping Node 

Undelegate "invalid shares amount" problem

When i try to undelegate the max, the sdk tells me that the amount is too small and yet, it is the exact amount to be delegated...

Example config
My address: bcna13jawsn574rf3f0u5rhu7e8n6sayx5gkwgusz73
Validator delegated: bcnavaloper1xkv494sduqkpadwesqlsp6069yepsj58haejfv
Here with an amount: 14.857414 bcna

image

When i try to undelegate, with good amount on console log
image

And the return error from SDK:
image

Not tested from CLI

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.