Evgeny Kuzyakov

Results 24 issues of Evgeny Kuzyakov

Once borsh supports Box serialization, we should switch to it: [https://github.com/nearprotocol/borsh/issues/19](https://github.com/nearprotocol/borsh/issues/19) Enums preallocate memory for the largest item. For example the same enum (e.g. `PeerMessage`) contains `Handshake` and `Block` or...

C-housekeeping
C-good-first-issue
T-node

Studio opens a new page even if the contract compilation fails.

new IDE

When trying to create a new account using the following command: ``` near create_account kitchen-beta --accountId=rich-guy.betanet --initialBalance=50 ``` Got the following documentation. It doesn't mention what is `masterAccount` ``` near...

enhancement
P2
T-dev-tools
good_first_issue

`.decode_chunk` might fail for a given `chunk_proofs` The following line expects that the `ChunkProof.chunk.content` contains enough elements in the vector: [https://github.com/nearprotocol/nearcore/blob/3ff069021a632807ec555d292503501c5e427ff5/chain/chain/src/validate.rs#L215](https://github.com/nearprotocol/nearcore/blob/3ff069021a632807ec555d292503501c5e427ff5/chain/chain/src/validate.rs#L215)

C-bug
A-chain
S-pinned

This line might be invalid: [https://github.com/nearprotocol/nearcore/blob/73c0e7cd86068eeafdeed067f0f6d65cb0c479fe/chain/chain/src/validate.rs#L265](https://github.com/nearprotocol/nearcore/blob/73c0e7cd86068eeafdeed067f0f6d65cb0c479fe/chain/chain/src/validate.rs#L265) Some of the thrown errors might be a valid challenge. @ilblackdragon please verify and if the case, reassign and I'll fix it later.

C-bug
A-chain
S-pinned

Context.sender should point to the predecessor_id instead of signer_id. We should also export: Context.signer_id and Context.predecessor_id

Some scratch options for the new API: ``` import {ContractPromise} from "../../../../code/metanear-src/out/near"; export function getWeather(location): Weather { return new Weather("shitty"); } export function getWeather(location): void { ContractPromise.create(bjklbdsklnsbklnb, ,asdf/ asdf).returnAsResult(); }...

The current implementation uses `TreeMap` for range deletes. We probably don't need it and it can be replaces as `UnorderedMap` of lookup maps + keys. Some operations do `Vec` conversions...

# Solving state staking issue ## Background With the current state staking pricing, the cost of storing `100` bytes of data is `0.01` NEAR. [Storage stake](https://nomicon.io/Economics/README.html#state-stake) A fungible token contract...

# Fee upgrade process This doc explains the process of upgrading Runtime fees in nearcore. ## Background We've decided to upgrade contracts compilation cache from fully in-memory cache to a...