-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Change AppTx to have "Type" field be of String type, not byte. #4
Comments
I think one byte is a bit harsh. But a string is a bit much. Maybe use [8]byte there, and then you can use any 8 characters for legibility. "governmt" is more legible than 0x02, and less likely to have accidental conflicts. Why 8 bytes? Cuz with 64-bit architectures almost everything ends up padded to 8-byte intervals, so this shouldn't take up much more space. Although 4 bytes should be enough for semi-legability. |
Looks like this has been changed to |
Added glide dependency handling
* Replace tendermint with celestiaorg tendermint version * Add new ABCI method skeleton: build works now * Add fraudproof data structure * Add helper methods to baseapp test for fraudproofs * Add TODOs in baseapp test method * Add SetupBaseParams with SMT, WIP to IAVL * Add tracekv readOperations and getAllKeysUsedInTrace * Cleanup errors * Add loadLastVersion to IAVL rootmulti store * Remove enableFraudProofGenerationMode * Add substore tracing to rootmulti store * Add ability to reset trace writer buffers after each commit * Able to get the trace made by fraudulent state transition now * Start writing getFraudProof method in BaseApp * Substitute SMT with IAVL trees inside getFraudProof * Implement getStoreProof inside rootmulti store * Completed generateFraudProof with IAVL store * Remove routerOpts from baseapp test when generating fraud proofs * Switch out proof decoder * Add Root in IAVL to use working hash instead of lastCommitID hash * Fix getAppHash to use working hashes of IAVL stores * Implement ABCI method to verify fraud proofs * Start setup BaseApp from IAVL store WIP * Add option to SetInitialHeight * Initialize baseapp from IAVL trees * Use deepIAVLTree in loadVersion * Add SetTracerFor to mock store * Add gdocs to new ABCI methods * Refactor from fmt.errorf into errors.New * Update error packages used * Update docs to remove SMT references * Add unit test for checkFraudulentStateTransition * modify executeNonFraudulentStateTransactions to accomodate case when EndBlock is fraudulent * Refactor code * add deepsubtrees version of iavl * add getDSTProof in iavl store WIP * Add non-existence DST proofs * Change getDeepIAVLTrees to use new DST * Use deepsubtree as interface and use version constructor * Support unused modules * Minor changes to make tests pass * Replicate trace buffers before fast forwarding tx again * Don't export SetupBaseAppFromParams * Refactor populateStateWitness out * refactor options.go dependencies
* Fix lint/gocritic error * Disable some workflow jobs
* Fix lint/gocritic error * Disable some workflow jobs
…osmos#4) * chore(staking): add error log when unbonding and redelegation failed * feat(staking): make staking keeper endblocker return unbonded entry
It's a few extra bytes per transaction, but I think the legibility is worth it.
The text was updated successfully, but these errors were encountered: