ade

Results 44 issues of ade

## Motivation `LdConst` currently deserializes the BCS encoded constants on every invocation. This is unnecessary and also makes it considerably slower than `Ld*` of same data size. This PR uses...

LdConst deserializes constants from BCS every-time we hit LdConstSee [here](https://github.com/move-language/move/blob/main/language/move-vm/runtime/src/interpreter.rs#L806). Seems wasteful. We should keep a pool/lookup-table of already deserialized constants either in the resolver [here](https://github.com/move-language/move/blob/main/language/move-vm/runtime/src/interpreter.rs#L800) or somewhere else. Attempt...

Opening and using DBMaps require lots of boilerplate code. [Example](https://github.com/MystenLabs/sui/blob/main/crates/sui-core/src/authority/authority_store_tables.rs) Other features like dump also need to be hand written and maintained. See https://github.com/MystenLabs/mysten-infra/issues/104

Type: Enhancement
sui-node
better-engineering

For debugging, we want to be able to dump any db table We currently have this for validator and gateway dbs, but want it for others

Type: Enhancement
sui-node
better-engineering

This avoids blowing up resources

* Introduces `#[derive(DBMapUtils)]` which reduces boilerplate code for opening DBMaps and dumping tables. * Supports DB options as attributes. Example `#[options(optimization = "point_lookup", cache_capacity = 1000000)]` * Added derive macro...

Opening and using DBMaps require lots of boilerplate code. [Example](https://github.com/MystenLabs/sui/blob/main/crates/sui-core/src/authority/authority_store_tables.rs) Other features like dump also need to be hand written and maintained.

enhancement

This adds the flat fee for VM gas logic The fee itself is subject to change Finding the right number took a few iterations and will probably take a lot...

![Screen Shot 2022-09-08 at 15 01 04](https://user-images.githubusercontent.com/93547199/189204441-7e8d41ba-4b3b-4418-ac7d-dac81dbcf7bf.png) Addresses [issue](https://github.com/MystenLabs/sui/issues/4530) In many cases for coin mgmt we want to transform a vector of M coins with arbitrary amounts to another vector...