bitcannaglobal / bcna Goto Github PK
View Code? Open in Web Editor NEWBitCanna Blockchain based on Cosmos SDK
Home Page: https://www.bitcanna.io
License: Apache License 2.0
BitCanna Blockchain based on Cosmos SDK
Home Page: https://www.bitcanna.io
License: Apache License 2.0
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"
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
Hello.
We would like to get notifications of upcoming Bitcanna releases.
It would be a massive help if we could do it through Github's Slack integration.
Could you kindly install it?
Thank you
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
When i try to undelegate, with good amount on console log
And the return error from SDK:
Not tested from CLI
Hello,
several customize endpoints do not appear on the lcd:
Is it possible to make them appear?
https://lcd-testnet.bitcanna.io/
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.