- 14 Jul, 2019 1 commit
-
-
Black3HDF authored
* fix BitBlock number * fix typos
-
- 10 Jul, 2019 2 commits
-
-
satellitex authored
* change method name current_block -> block_number * fix current_block -> block_numebr
-
satellitex authored
* add core gets ext_current_block and BlockNumber Types * add lang gets ext_current_block and BlockNumber Types * add model ext_current_block * Update lang/src/gen/build.rs Co-Authored-By:
Andrew Jones <ascjones@gmail.com> * add test_env current_block clear;
-
- 25 Jun, 2019 2 commits
-
-
Andrew Jones authored
-
Andrew Jones authored
* [examples] fix erc20 tests * [core] ditch input buffer, read from scratch instead
-
- 24 Jun, 2019 1 commit
-
-
Andrew Jones authored
* [model] Make EnvHandler generic over Env * [core] Remove api env functions * [core] Remove default srml types, separate EnvStorage trait * [core] Remove TryFrom bounds * [core, examples] Convert incrementer to use NodeRuntime types * [examples] Ignore duplicate wasm runtime lang items * [examples] Tidy up incrementer example * [core] Add Hash constraint for AccountId * [examples] Convert model ERC20 example * [lang, examples] Generate env type aliases, convert ERC20 example * [types] Add pre-baked node-runtime types lib * [examples] Convert core/incrementer to use node-runtime-types * [examples] Convert lang/erc20 to use node-runtime-types * [examples] Convert model/erc20 to use node-runtime-types * [types, examples] Rename node-runtime to node_runtime * [types] Add default contract environment types * [types] Rename type crates * [types, core] Move default types back to core * [examples] Convert flipper example to use default types * [core] Fix up test_env * [core] Fix syn Errors after merge * [core] Temporarily suppress unused errors in test_env * [tests] Fix up test compilation * [tests] Remove unused test code overrides * [core] Make SrmlEnvStorage enum * [core] Fix empty enum * Use Debug impl of AccountId * [model] Remove stray license template line * [lang] Replace Env type alias with explicit type * [core, tests] Store raw bytes in TestEnv data * [model] Fix tests * [examples] Add missing env import * [core] Remove Hash + Copy constraints * [core] Replace unwrap with expect * [core] Remove unused import * [lang] Fix missing Env type param for test-env * [examples] Construct AccountId in tests by decoding bytes * [examples] set_caller helper function * [core, examples] Extract TestEnv events, no type param required * [core, examples] Restore `r#return` api call * [examples] Use from impl for AccountId * [core. lang] Encode concrete env type in contract * [lang] Fix lang failure tests * [examples] Fix lang incrementer example * [lang] Fix up events test * [lang] Increase recursion limit for lang test * [lang] Encapsulate env types in module and use alias for ContractEnv * [lang] Fix remaining lang tests * [examples] Move node runtime types to separate repo * [lang] Make types public and prefix ContractEnv alias * [lang] Remove ContractEnv alias, inline type * [fix] Remove types/node_runtime from workspace * [lang] Use fully qualified ContractEnv, fix lang tests * [examples] Fix events lang example * [lang, examples] Convert erc20 example to use new ink-types-node-runtime * [docs, template, examples] Add missing EnvTypes declaration * [lang] Add super import to types mod * [examples] use DefaultSrmlTypes in erc20 example * [examples] Use ink-types-node-runtime lib * [examples] Use remote git dependency * [core] remove unused reexport * [core] update docs * [examples] Fix core incrementer example * [lang] Move 'env' type alias to test module * Revert "[lang] Move 'env' type alias to test module" This reverts commit 8f73f37b * [lang] use Env trait to allow calling methods from type alias * [lang] Fix lang codegen tests * [lang] Use inner attr for EnvTypes instead of type alias * [lang] Add some tests for parsing env types meta attr * [lang] Pass EnvHandler type to fix compile error after merge * [core] Add extra trait bounds to EnvTypes * [core] EnvTypes test-env feature * [examples] Reference master ink! in anticipation of merge * [core] Docs and pub(self) * [examples] Convert to AccountId::from * [lang] Revert recursion limit * [core] Make ContractEnv pub again * [lang] remove env type alias * [core] restore test env emitted_events method * [core] missing T * [core] emitted_events missing type parameter * [examples] update env usage in erc20 * [examples] update env usage in other lang examples * [examples] fix up core examples * [examples] fix up model examples * [core] fix import * [core] phantom marker grumble * [core] comment grumble * [core] return Iterator from emitted_events * [lang] remove commented out code * [core] remove redundant allow_unused * [examples] use DefaultSrmlTypes for erc20 example
-
- 13 Jun, 2019 2 commits
-
-
Andrew Jones authored
-
DemiMarie-parity authored
-
- 11 Jun, 2019 1 commit
-
-
JCKim authored
-
- 31 May, 2019 1 commit
-
-
Shawn Tabrizi authored
-
- 29 May, 2019 3 commits
-
-
Robin Freyler authored
-
Robin Freyler authored
-
Hero Bird authored
* [ink] Fix some clippy warnings * [lang] Major clean ups in preparation of greater refactorings
-
- 25 May, 2019 1 commit
-
-
Robin Freyler authored
-
- 24 May, 2019 1 commit
-
-
Hero Bird authored
* [core] Factor nightly alloc parts out of core into new alloc ink crate * Further cleanup after factoring out ink_alloc crate * [alloc] Use symlinks instead of copies
-
- 23 May, 2019 1 commit
-
-
Hero Bird authored
* [ink] Update rust-toolchain from 2019-04-20 to 2019-05-21 * [core,lang] Update & fix Cargo information * [chores] Update rustfmt version to the current toolchain * [core] Clean up, fix some warnings * [core] Remove unneeded dependency * [core] Ignore return value of Key ops Fixes a warning * [core,model] Adjust warning level * [lang] Minor rustfmt run * [ink] Add topics to events For now, ink! will simply leave topics slice empty. * [core] Add ext_gas_left, ext_gas_price and ext_value_transferred bindings * [core] Clean up some code by dedup * [core] Further code clean up * [core] Simplify SrmlEnv::load impl
-
- 17 May, 2019 1 commit
-
-
Andrew Jones authored
* WIP: add template * Zip build file from temp dir * Unzip in new command * Unzip files to target dir * Fix warnings * Remove unwraps from unzipping * Refactor build.rs * rustfmt * Remove printlns * Use PathBuf in build.rs * Replace variables in template files * Diable zip default features * rustfmt
-
- 14 May, 2019 1 commit
-
-
Logan Saether authored
* Impl ext_now * Fix build * use read_scratch_buffer * remove examples
-
- 10 May, 2019 2 commits
-
-
Hero Bird authored
* [examples/lang] Add shared_vec example It demonstrates usage of events, Option and Result. * [examples/lang] Make use of docs in event syntax for shared_vec * [examples/lang] Add more docs to events in shared_vec * [examples/lang] Remove unnecesary return * [examples/lang] Add mutator field to Push event
-
Hero Bird authored
-
- 09 May, 2019 3 commits
-
-
Hero Bird authored
* [lang] Implement Vec<T> as message param or return type * [lang] Apply rustfmt * [lang] Reorganize Option api.rs tests * [lang] Add tests for Vec in api.rs * [lang] Support Result<T,E> type in message interfaces
-
Shawn Tabrizi authored
* [examples] Fix a bug in `transfer_from` This should fix the known bug, but may have some others in there... Would rather have a more direct implementation: either simplified or directly copied from a known working sample. * [examples] Making ERC20 tests even better * [example] Make `balance_of` getter use `balance_of_or_zero` * Use the final ERC20 contract from workshop * [examples] Reduce getters to one line * [examples] Fix a bug in `transfer_from` This should fix the known bug, but may have some others in there... Would rather have a more direct implementation: either simplified or directly copied from a known working sample. * [examples] Making ERC20 tests even better * [example] Make `balance_of` getter use `balance_of_or_zero` * Use the final ERC20 contract from workshop * [examples] Reduce getters to one line * [examples] Use new event syntax * [examples] Run cargo fmt
-
Jordan Beauchamp authored
-
- 07 May, 2019 1 commit
-
-
Shawn Tabrizi authored
-
- 06 May, 2019 1 commit
-
-
Jordan Beauchamp authored
Fix generated message struct visiblity
-
- 05 May, 2019 5 commits
-
-
Robin Freyler authored
-
Robin Freyler authored
-
Robin Freyler authored
-
Robin Freyler authored
-
Robin Freyler authored
-
- 24 Apr, 2019 4 commits
-
-
Robin Freyler authored
-
Hero Bird authored
* [lang] Implement event syntax * Update lang/src/ast.rs Co-Authored-By:
Robbepop <robbepop@web.de> * [core] Build infrastructure to inspect emitted events * [lang] Fix some bugs with codegen of events * [examples/lang] Add example that uses events * Update lang/src/ast.rs Co-Authored-By:
Robbepop <robbepop@web.de> * Update lang/src/hir.rs Co-Authored-By:
Robbepop <robbepop@web.de>
-
Robin Freyler authored
-
* [cli] Update `new` cli for latest * [cli] Fix arguments in cli * [cli] Update to use `super::*` * [cli] Update to use `#![cfg_attr(not(any(test, feature = "std")), no_std)]` * [cli] Update build script to latest * [cli] Update to `#[cfg(all(test, feature = "test-env"))]` * Add `set -e` to build.sh
-
- 23 Apr, 2019 1 commit
-
-
* [examples] Fixes to ERC20 contract Fixes https://github.com/paritytech/ink/issues/73 * [example] Add a failure test for `transfer`
-
- 22 Apr, 2019 5 commits
-
-
Hero Bird authored
-
Hero Bird authored
This should resolve confusions about Address and AccountId encoding/decoding.
-
* [examples] Add flipper contract to examples folder * [examples] Simplify flipping logic * [examples] Fix flipper test * [examples] Update Flipper and Incrementer examples * [examples] cargo fmt on Flipper
-
Shawn Tabrizi authored
Rename & repo transfer adjustments
-
Robin Freyler authored
-