What got Merged: Part IV

Milo Davis
2 min readApr 21, 2018

--

My favorite book of all time begins with the line: “People are afraid to merge on freeways in Los Angeles.” The Tezos dev team refuses to be ruled by fear (or get in a car anywhere in California), so there’s lots to share!

Resolve “Functorize sigs in the protocol.”

This MR adds a second way to sign data: secp256k1. Supporting this second signature method makes the general signature method more generic, requiring quite a bit of the code that handles signatures to be reworked. The secp256k1 signature method is interoperable with Bitcoin, which will make it easier to reuse Bitcoin libraries and hardware.

Alpha: fixed type of Tez for constants

In the protocol, there are a variety of modules that describe how a certain datatype will be represented. These modules are followed by _repr. Then, the contents of these modules are re-exported in the Alpha_context (formerly Tezos_context) module for use throughout the rest of the protocol. In two cases, types were exported with the Tez_repr.t and Period_repr.t types instead of Tez.t and Period.t. This MR fixes that.

Fix broken Ocsigen links and documentation generation

Tezos uses libraries from the Ocsigen project. Due to some changes to their website, some links broke. They are now fixed. If you see additional broken links in Tezos, submit an MR of your own, submit an issue, or send someone o the dev team a message through your favorite communication platform (I recommend using a smoke signal).

Client: fix for issue #161.

Issue 161 was a bug that caused the --delegate parameter to be ignored when creating an account if the key hash was not known to the contract. This issue came from the incorrect handling of an option type. This MR also makes literals more usable throughout Tezos.

Crypto: Only extract checksum when there’s one

This MR fixes a bug in which attempting to extract a checksum from a base58check encoded string would fail if the string was not long enough to include the checksum.

Alpha: use protocol parameters instead of sandbox to tune constants

This MR deals primarily with adding support for fundraiser wallets. To facilitate this, it adds emails and mnemonics to the genesis info generation script. Then it adds an operation to claim funds from the genesis accounts, with functionality in the client to add the fundraiser wallets. It also performs a few refactorings.

--

--