Update Polkadot chain-spec and switch to new wasm builder (#60)

This commit is contained in:
Bastian Köcher
2020-02-14 11:44:27 +01:00
committed by GitHub
parent ea65c31654
commit 0c3fb0dde7
3 changed files with 79 additions and 72 deletions
+7 -2
View File
@@ -14,8 +14,13 @@
// You should have received a copy of the GNU General Public License
// along with Substrate. If not, see <http://www.gnu.org/licenses/>.
use wasm_builder_runner::{build_current_project, WasmBuilderSource};
use wasm_builder_runner::WasmBuilder;
fn main() {
build_current_project("wasm_binary.rs", WasmBuilderSource::Crates("1.0.7"));
WasmBuilder::new()
.with_current_project()
.with_wasm_builder_from_crates("1.0.9")
.export_heap_base()
.import_memory()
.build()
}