Comments (2)
Possibly related to this in regards to amino encoding/decoding
from gno.
Description
The
gnoland genesis txs remove
command takes in a hash of a transaction. The only way to get the hash of a transaction currently is to fetch the block that it was included in and find it inside.ClsKCi92bS5tX2NhbGwSTQooZzFqZzhtdHV0dTlraGhmd2M0bnhtdWhjcGZ0ZjBwYWpkaGZ2c3FmNRoUZ25vLmxhbmQvci9kZW1vL2VjaG8iBlJlbmRlcioDbG9sEhMIgNrECRIMMTAwMDAwMHVnbm90Gn4KOgoTL3RtLlB1YktleVNlY3AyNTZrMRIjCiED4WE22xceMt9ImTWUHwVuIviYY+NznQq3zUnsQoOcnbISQLZ8rBnYX2iEVQwfrdNW4uYXdamoHKP58P6V9MRWsQVTBjEdjEafIX27XVUbFv/uc/mBTrARL1RV0qH26Hi8uLw=
On top of this, just giving the subcommand the value from above found in the fetched block, would not work - and even getting the
hex
representation, which is below, would also not work.436c734b436939326253357458324e686247775354516f6f5a7a46715a7a68746448563064546c726147686d64324d30626e68746457686a63475a305a6a42775957706b61475a326333466d4e526f555a3235764c6d7868626d51766369396b5a5731764c32566a61473869426c4a6c626d526c63696f446247397345684d49674e72454352494d4d5441774d4441774d48566e626d3930476e344b4f676f544c3352744c6c4231596b746c65564e6c593341794e545a724d52496a4369454434574532327863654d7439496d5457554877567549766959592b4e7a6e5171337a556e73516f4f636e624953514c5a3872426e59583269455651776672644e573475595864616d6f484b503538503656394d525773515654426a45646a456166495832375856556246762f75632f6d42547241524c3152563071483236486938754c773d
We should find a simpler way to execute this subcommand, because if this doesn't happen, people will simply go in and remove the transaction manually, which could cause human errors, and ultimately make the subcommand useless.
I think we should have an ID for each transaction in genesis_txs.jsonl
, and the subcommand should interact with this ID instead of finding or calculating the hash
from gno.
Related Issues (20)
- Add/append balances and txs when genesis exists HOT 3
- [docs] Update outdated images & gifs
- CI issue about contribs/ is only triggered after PR merges HOT 1
- Is it possible to have a dedicated CI error when it's just Codecov?
- Bug recently introduced makes `gno-js`'s `provider.evaluateExpression` timeout HOT 3
- Clarify allowed files and extensions when adding a package
- gnokey does not show the full HTTP response in case of error HOT 4
- task: check the lexical restrictions on gno module paths and compare to go
- Sentry Nodes lagging behind validator in consensus process HOT 19
- [chain] Upload and display benchmarks for the gno monorepo HOT 5
- [chain] Refactor and revise the `gnolang/benchmarks` repository
- [chain] Add OTEL tracing functionality + Jaeger HOT 2
- Track and identify emitted events HOT 2
- Document some gnoland flags require -lazy
- [chain] Audit the Gno.land storage layer
- Deleting an imported key deletes the old key
- [GnoVM] Missing method DecRefCount when deleting element in pointer slice
- Client-side HTTP basic authentication support
- Proposition to add a $GNOADDR or $ADDRESS env variable HOT 1
- Adding a package with insufficient gas causes causes 'should not happen' the next time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gno.