Skip to content
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

Preview5 to RC1 Comparison #6

Open
wants to merge 63 commits into
base: preview5-untouched
Choose a base branch
from

Conversation

spencercorwin
Copy link

No description provided.

erikzhang and others added 30 commits February 4, 2021 23:23
* Verification optimizations

* Fix UT

* Add snapshot to MakeTransaction

* Optimize

* Update Transaction.cs

* Fix

* Fix UT

* Revert Wallet change

Co-authored-by: Erik Zhang <[email protected]>
* Add GetInstance

* Add UT

Co-authored-by: Erik Zhang <[email protected]>
* Add native contract: StdLib

* format

* Add CryptoLib

* Add SCriptContainer.GetHashData

* Return object instead of interop

* Fix UT

* Fix of fix

Co-authored-by: Erik Zhang <[email protected]>
Co-authored-by: Vitor Nazário Coelho <[email protected]>
* Clean EmitDynamicCall code

* Add Safe callflag

* Remove Safe

* Update AssetDescriptor.cs

Co-authored-by: Erik Zhang <[email protected]>
…2315)

* Set max verification for state dependant

* Update Transaction.cs

* Prevent VerifyStateDependent if not enough gas in StaticIndependent

* Check gas in wallet

* Fix wallet condition

* Update Transaction.cs

* Remove wallet condition

Co-authored-by: Erik Zhang <[email protected]>
* Adjust native contract fee

* Add default Oracle price

* Charge the committee

Co-authored-by: Shargon <[email protected]>
* Remove BitConverter

* Optimize

Co-authored-by: Erik Zhang <[email protected]>
erikzhang and others added 30 commits February 17, 2021 09:01
* Fix types in native contracts

* format

Co-authored-by: Shargon <[email protected]>
* Update VM

* Update Sqlite

* Update prices

* Update price

Co-authored-by: Erik Zhang <[email protected]>
* Add GetPendingWitnesses

* GetSignatures

* Remove clean signatures

* Store single signatures in ContextItem

* Clean code

* readonly

* Optimize

* Change return type

* Fix UT

Co-authored-by: Erik Zhang <[email protected]>
* StorageItem: optimize binary representation

After neo-project#2351 StorageItem is just a thin wrapper for some byte array in its
essence so we can Use the same trick as was used for storage keys in neo-project#1566 and
avoid additional wrapping/unwrapping with VarBytes encoding.

* StorageItem: optimize out reader.BaseStream.Position

It's always 0.
* change prices

* Revert change

* Revert GetNextBlockValidators price

* fix
)

* SmartContract: rename hex in ContractParametersContext

It's not really hex since neo-project#1199 and even before that it could've been named a
bit differently. `item` is not an option because we already have `items`
there, but we're signing things so probably it's OK to call this signed thing
a `document`.

* SmartContract: rename 'document' field to 'data'

Seems to be better for this, thanks @shargon.

Co-authored-by: Erik Zhang <[email protected]>
…roject#2396)

* Make ContractManagement.Check available for blockchain toolkit

* Move to Helper

Co-authored-by: Erik Zhang <[email protected]>
* optimize transaction route

* logic fix

* logic fix

* restore logic when Blockchain receives transaction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants