Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

Releases: thehubbleproject/hubble-contracts

Hunt down more bugs

13 Mar 08:44
bca0900
Compare
Choose a tag to compare
Hunt down more bugs Pre-release
Pre-release

What’s Changed

We fixed more bugs and also lay grounds for the TypeScript client.

🐛 BugFix

📝 Changes in the contracts

🚀 Changes in the client

Chore

Before we move fast and break things

24 Feb 15:17
ddf6cb9
Compare
Choose a tag to compare
Pre-release

I'll be the only dev for about a month. New pull requests after this release are getting no reviews.

What’s Changed

✨ New Feature

Enter Solidity 0.6 and keyless deployment

02 Feb 08:29
7b75d55
Compare
Choose a tag to compare

What’s Changed

✨ New Feature

🐛 BugFix

⚡ Performance

  • Make batch update function non destructive (#450) @kilic

Before the Solidity 0.6.x contract upgrade

26 Jan 14:00
a219573
Compare
Choose a tag to compare

Contract interfaces

This affects the coordinator API

#433 Revamp Rollback events

Contract Internal

Affects contract security and gas efficiency

#406 Use mapping for deposit baby tree
#405 Remove ParamManager and NameRegistry
#418 Fix BLS pairing gas calculation
#392 Fix double sender check in signature fraud proof
#429 Fix looping storage variable in batch rollback

Deployment Scripts

Affects dev experience and some coordinator interface

#395 Add deposit script
#396 Add Hubble REPL
#420 Add auxiliary fields to genesis.json
#434 Add version field in genesis.json
#435 Fix public network deployment
#447 Add parameters file and output path in deployment script

Testing

Affects coverage and testing efficiency

#386 Add an elaborate integration test
#393 Split the tests to fast, slow, and integration categories.

Documents, nitpics, cosmetics

No machine logic affected

#391 Add documents in the README and contracts
#422 Add License
#428 Remove some dead code
#431 Organize 32 level tree depth variables

Inside The Fridge

15 Dec 10:12
a193359
Compare
Choose a tag to compare
Inside The Fridge Pre-release
Pre-release

Contract: Core

Major change

  • #385 Burn Auction: Add the donate-to-public-good feature. Add withdraw pattern and better balance tracking.
  • #388 Fix AccountTree batch registration behavior.

Behavior or style change

  • #361 create2transfer: Remove sender public key from the signing message. Also, #365 is a related JS fix
  • #362 tokenID: Unify the variable name.
  • #363 pubkeyID: Unify the variable name.

Minor change

  • #369 AccountTree: Documentation on the purpose of left tree and right tree
  • #373 (Minor) ExampleToken: Rename and move to test/
  • #383 (Minor) Fix style in Transition.sol

Contract: Frontend

  • #375 Fix the Mass Migration and Create2Transfer: Remove the receiver argument.

JavaScript (deployment script and test utils)

  • #358 Output genesis config deploy script
  • #366 State tree: Raise clear exceptions.
  • #372 Revamp mcl and add BLS signer abstraction
  • #379 State tree: Work every method with the core getState or updateStat API. Remove StateSolStruct. Handle the tokenID validation correctly
  • #368 Improve the way we handle genesis root
  • #384 Separate the signing function from State class.
  • #387 Improve mass migration commitment API
  • #389 Tree and AccountTree: raise explicit exceptions and fix JS integer issue.

Contract Code Freeze ❄️

30 Nov 08:03
Compare
Choose a tag to compare
Pre-release

Major changes

  • #337 Add Burn Auction. Thank you, Hermez!
  • #336 #343 Immutable Parameters. We assume they will never change once the contracts are deployed.
  • #339 Revamp Rollback and properly test it.
  • #345 Removed Logger. Logs now emitted from multiple contracts instead of from a monolithic logger contract.
  • #346 Make batches a mapping.

Minor changes

  • #356 Add deposit helper
  • #355 Reduce batch account registration size from 1024 to 16, because waiting for 1024 registrations is too long.
  • #349 Add encoders and decoders for creat2transfer with public keys
  • #347 Add missing dispute creat2transfer to rollup contract.

Fix invalid subgroup checks for Pubkeys

16 Nov 10:53
Compare
Choose a tag to compare
Pre-release

BLS

  • #328 Fix invalid subgroup checks for Pubkeys

Notable Improvement on contracts

  • #314 #321 replaced governance contract with parameters contract
  • #309 Abstract bitmap library for Vault and WithdrawManager
  • #283 #294 Refactor state transitions
  • #288 Make Merkle tree manipulation a library

Features

Create2Transfer

  • #231 Add create2transfer

MassMigration

  • #284 Add fee to mass migration
  • #264 Complete Withdraw Manager
  • #257 Fix Mass Migration

Batch

  • #276 Reduce the size of storage metadata to put on the chain

Notable bug fix

  • #304 Fix encode decimal
  • #278 Fix check on the first commitment of the batch
  • #271 Fix on deposits
  • #268 Fix stake manager

Test utils

  • #298 Cleanup state tree

See the rest here

BLS audit

29 Sep 11:38
f94d684
Compare
Choose a tag to compare
BLS audit Pre-release
Pre-release

We have BLS signature contracts working stably without change. We freeze this version for the auditor to review.

Features in this release

  • Mass migrations #199
  • BLS #55 #63
  • Fouque Tibouchi Hash to Curve #201
  • Optimised submit batch #65
  • Submit multiple roots per batch #145
  • Transaction Fees #192
  • Decimal #211