Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit de5f4da

Browse files
committed
Only import WASM-TEXT in DRIVER, not in EWASM
1 parent e3609a0 commit de5f4da

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

driver.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@ Ethereum Simulation
22
===================
33

44
```k
5+
require "wasm-text.md"
56
require "ewasm.md"
67
require "data.md"
78
89
module DRIVER-SYNTAX
910
imports EWASM-SYNTAX
11+
imports WASM-TEXT-SYNTAX
1012
imports DRIVER
1113
endmodule
1214
1315
module DRIVER
1416
imports EWASM
17+
imports WASM-TEXT
1518
```
1619

1720
An Ewasm program is the invocation of an Ethereum contract containing Ewasm code.

ewasm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Ewasm Specification
22
=================
33

44
```k
5-
require "wasm-text.md"
5+
require "wasm.md"
66
require "eei.md"
77
88
module EWASM-SYNTAX
9-
imports WASM-TEXT-SYNTAX
9+
imports WASM-SYNTAX
1010
imports EWASM
1111
endmodule
1212
```
@@ -19,7 +19,7 @@ Ewasm consists of a WebAssembly (Wasm) semantics, and an Ethereum Environment In
1919

2020
```k
2121
imports EEI
22-
imports WASM-TEXT
22+
imports WASM
2323
```
2424

2525
The configuration composes both the top level cells of the Wasm and EEI semantics.

0 commit comments

Comments
 (0)