Alexander Slesarenko

Results 74 issues of Alexander Slesarenko

Closes #486 In this PR a new method Numeric.toBigEndianBytes is implemented for Byte, Short, Int, Long, BigInt types.

soft-fork
A-consensus

In this PR, IRContext cake is simplified by removing unnecessary level of abstractions, which will simplify adding new operations to ErgoScript: - [removed Library trait (merged with Scalan)](https://github.com/ScorexFoundation/sigmastate-interpreter/commit/302b09d494c3bdc449b6e83f0bbaf1112463caf8) -

### Problem Currently there is no way in ErgoScript to create objects of pre-defined types such as AvlTree, Header, Box, etc. It is possible to introduce new objects only by...

A-frontend
C-feature

This new operation will allow creating AvlTree instances from parameters (which is not possible in v5.x) Details https://github.com/ScorexFoundation/sigmastate-interpreter/blob/2b72f2fddcd9ceedd84aa6bb225d6717c04c4f48/interpreter/shared/src/main/scala/sigmastate/trees.scala#L207

A-consensus
C-feature

Numeric.toBigEndianBytes method should be added to ErgoScript and ErgoTree. Example: ```scala 512.toBigEndianBytes == Coll(0.toByte, 0.toByte, 2.toByte, 0.toByte) ```

soft-fork
A-consensus
C-feature

### Problem **Problem 1: Scalability** The function `deserialize` as we have it now is not compatible with script caching. The caching assumes that the script template is fixed and only...

soft-fork
A-consensus
P2-medium
C-feature
Proposal
40h

This is to allow CostTable parameters to be updated via soft-fork.

soft-fork
40h

Use the following usability pattern in all error messages. ![image](https://user-images.githubusercontent.com/654077/196644712-f385c706-df4e-4ea2-9643-c60fcc27f923.png) **Source:** https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f

C-enhancement
P2-medium
Bounty - 500 SigUSD