From b5a4a65a91a83f220ef2b1b38083fadf5a5937b6 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Tue, 7 May 2019 14:45:53 -0400 Subject: [PATCH 1/5] Remove revision number from top-level README Nothing in this doc is versioned and it's confusing to lead with this. Let's just version the actual specification docs (https://github.com/ewasm/design/blob/master/contract_interface.md, https://github.com/ewasm/design/blob/master/eth_interface.md, https://github.com/ewasm/design/blob/master/system_contracts.md). --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index fde5ddc8..fb9830f4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Ethereum flavored WebAssembly (ewasm) -Specification **Revision 4** - This repository contains documents describing the design and high-level overview of ewasm. Expect the contents of this repository to be in flux: everything is still under discussion. **This repository is also available through [ReadTheDocs](https://ewasm.readthedocs.io).** From 33894e2192151d6b4bf2f8ee199c6ca9ba93ec13 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Wed, 8 May 2019 12:47:47 -0400 Subject: [PATCH 2/5] Create revision.md Add a separate revision file --- revision.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 revision.md diff --git a/revision.md b/revision.md new file mode 100644 index 00000000..1fdc0e2b --- /dev/null +++ b/revision.md @@ -0,0 +1,5 @@ +# Revision information + +**Current specification revision: 4** + +The contents of this branch describe this revision of the Ewasm design. From 0b669897cebaaf6f1a4d336d9291608d7e02cfb1 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Wed, 8 May 2019 12:48:57 -0400 Subject: [PATCH 3/5] Add revision link --- contract_interface.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contract_interface.md b/contract_interface.md index b4cf9473..c4157e22 100644 --- a/contract_interface.md +++ b/contract_interface.md @@ -2,6 +2,8 @@ The Ewasm Contract Interface (ECI) specifies the structure of a contract module. +Current revision: see [revision.md](./revision.md). + ### Wire format Every contract must be stored in the [WebAssembly Binary Encoding](https://github.com/WebAssembly/design/blob/master/BinaryEncoding.md) format (in short, WASM bytecode). From 5a2cb81070ff433f29a3cca25cb20b7e298d9774 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Wed, 8 May 2019 12:49:17 -0400 Subject: [PATCH 4/5] Add revision link --- eth_interface.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eth_interface.md b/eth_interface.md index dcaef381..5d1206a6 100644 --- a/eth_interface.md +++ b/eth_interface.md @@ -2,6 +2,8 @@ The Ethereum Environment Interface exposes the core Ethereum API to the ewasm environment. The Ethereum [module](https://github.com/WebAssembly/design/blob/master/Modules.md) will be implemented in the Ethereum client's native language. All parameters and returns are restricted to 32 or 64 bit integers. Floats are disallowed. +Current revision: see [revision.md](./revision.md). + # Data types We define the following Ethereum data types: From 8a394ce9dc93295ce9aa198a3c3e3c2411332c11 Mon Sep 17 00:00:00 2001 From: Lane Rettig Date: Wed, 8 May 2019 12:49:39 -0400 Subject: [PATCH 5/5] Add revision link --- system_contracts.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system_contracts.md b/system_contracts.md index b4c84811..36a4ed9c 100644 --- a/system_contracts.md +++ b/system_contracts.md @@ -9,6 +9,8 @@ or to rely on implementations written in ewasm. Each of these contracts have a pre defined address and can be executed through regular contract invocations. +Current revision: see [revision.md](./revision.md). + ## Sentinel Contract Address: `0x000000000000000000000000000000000000000a`