Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

Moving from App to Account terminology - Part 14 #297

Merged
merged 58 commits into from
Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6adf158
Renaming `App` to `Account`
YaronWittenstein Jul 14, 2021
b2bbef7
Ready for review.
YaronWittenstein Jul 14, 2021
e2bae16
Renamig `SpawnAppReceipt` to `SpawnReceipt`
YaronWittenstein Jul 14, 2021
2bfbc7a
Merge branch 'master' into app-term-deprecation-2
YaronWittenstein Jul 14, 2021
9ec985e
cargo fmt
YaronWittenstein Jul 14, 2021
6d1d378
Merge branch 'master' into app-term-deprecation-3
YaronWittenstein Jul 14, 2021
ae9239a
Renaming `AppAddr` to `AccountAddr`
YaronWittenstein Jul 14, 2021
546ed3a
Merge branch 'master' into app-term-deprecation-3
YaronWittenstein Jul 14, 2021
e2e0166
cargo fmt
YaronWittenstein Jul 14, 2021
e4552a3
Rename `SpawnApp` -> `SpawnAccount`
YaronWittenstein Jul 14, 2021
86e675b
Merge branch 'master' into app-term-deprecation-4
YaronWittenstein Jul 14, 2021
e38e9b6
`RuntimeError` - renaming fields from `app_addr` -> `account_addr`
YaronWittenstein Jul 14, 2021
bcf54a2
code compiles.
YaronWittenstein Jul 14, 2021
2185686
WIP: finishing the migration for the `svm-types` crate.
YaronWittenstein Jul 14, 2021
ebe85ba
tests pass
YaronWittenstein Jul 14, 2021
e168fb4
Merge branch 'app-term-deprecation-4' into app-term-deprecation-5
YaronWittenstein Jul 14, 2021
ebfff86
Merge branch 'master' into app-term-deprecation-5
YaronWittenstein Jul 14, 2021
8e5d279
`Transaction` - rename `app` to `target`
YaronWittenstein Jul 14, 2021
beff562
Renaming Receipts types.
YaronWittenstein Jul 14, 2021
e0e9f6b
cargo fmt
YaronWittenstein Jul 14, 2021
b4056c3
Merge branch 'master' into app-term-deprecation-6
YaronWittenstein Jul 14, 2021
8d94242
`svm-types` crate seems to have been migrated to the new AA terminology.
YaronWittenstein Jul 14, 2021
c0fb98d
WIP - Renaming to the new AA terminology in `svm-codec`.
YaronWittenstein Jul 14, 2021
0f4e141
More changes to `svm-codec`
YaronWittenstein Jul 14, 2021
690ff60
`svm-code` - more changes.
YaronWittenstein Jul 14, 2021
203dcfc
Fixing tests
YaronWittenstein Jul 14, 2021
d3a9faf
More changes to `svm-codec` (`api/json` and `api/wasm`)
YaronWittenstein Jul 14, 2021
98195fb
cargo fmt
YaronWittenstein Jul 14, 2021
6a34a87
Ready for review.
YaronWittenstein Jul 14, 2021
0381e58
`svm-codec` - modifying `src/receipt/error.rs` to use the new termino…
YaronWittenstein Jul 14, 2021
5e8e865
More changes to the new AA terminology.
YaronWittenstein Jul 14, 2021
5c60234
`svm-codec` is almost completely migrated to the new AA terminology.
YaronWittenstein Jul 14, 2021
a2208f9
crate `svm-storage` has been migrated the use the new AA terminology.
YaronWittenstein Jul 14, 2021
18da3ec
Fixed some of the `codec` Java-Script failing tests.
YaronWittenstein Jul 14, 2021
6c9a95d
`svm_codec.wasm` test pass.
YaronWittenstein Jul 15, 2021
447c924
WIP: migrating `svm-runtime` to the new AA terminology.
YaronWittenstein Jul 15, 2021
25d3165
WIP: migrating `svm-runtime` to the new AA terminology.
YaronWittenstein Jul 15, 2021
ba48bda
`svm-codec` WIP
YaronWittenstein Jul 15, 2021
9575be8
`svm-runtime` - migrating `runtime_tests.rs`
YaronWittenstein Jul 15, 2021
be95cfc
Merge branch 'master' into app-term-deprecation-10
YaronWittenstein Jul 15, 2021
490cac2
Ready for review.
YaronWittenstein Jul 15, 2021
6b65d47
Merge branch 'master' into app-term-deprecation-11
YaronWittenstein Jul 15, 2021
2e19208
crate `svm-gas` is using the new AA terminology.
YaronWittenstein Jul 15, 2021
ad02abb
Changes for `rocksdb` (still not finished)
YaronWittenstein Jul 15, 2021
b91230e
Merge branch 'master' into app-term-deprecation-12
YaronWittenstein Jul 15, 2021
e887556
WIP: migrating `svm-sdk` to use the new AA terminology.
YaronWittenstein Jul 15, 2021
408b492
`svm-sdk` is using the new AA terminology.
YaronWittenstein Jul 15, 2021
2748256
Migrating `svm-sdk-tests` to use the new AA terminology.
YaronWittenstein Jul 15, 2021
bd634a7
WIP: migrating `svm-sdk-tests` to the new AA terminology.
YaronWittenstein Jul 15, 2021
58088db
`svm-sdk` tests pass.
YaronWittenstein Jul 15, 2021
bd7599b
Ready for review.
YaronWittenstein Jul 15, 2021
b2bf266
WIP: migrating `runtime-ffi` into the new AA terminology.
YaronWittenstein Jul 15, 2021
58c17b0
Ready for a review.
YaronWittenstein Jul 15, 2021
d5e91e6
Merge branch 'master' into app-term-deprecation-13
YaronWittenstein Jul 15, 2021
ce5f5d8
Ready for review.
YaronWittenstein Jul 15, 2021
aebe6d0
cargo fmt
YaronWittenstein Jul 15, 2021
4ee3d92
Updating the Wasm test files under `runtime/tests/wasm` and `runtime-…
YaronWittenstein Jul 15, 2021
f2b4861
Merge branch 'master' into app-term-deprecation-14
YaronWittenstein Jul 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified crates/runtime-ffi/tests/wasm/counter.wasm
Binary file not shown.
24 changes: 24 additions & 0 deletions crates/runtime-ffi/tests/wasm/counter/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/runtime-ffi/tests/wasm/counter/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use svm_sdk::app;
use svm_sdk::template;

#[link(wasm_import_module = "host")]
extern "C" {
fn counter_mul(var_id: u32, mul_by: u32) -> u32;
}

#[app]
mod App {
#[template]
mod Template {
#[storage]
struct Storage {
counter: u32, // var_id = 0
Expand Down
24 changes: 24 additions & 0 deletions crates/runtime-ffi/tests/wasm/failure/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/runtime-ffi/tests/wasm/failure/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use svm_sdk::app;
use svm_sdk::template;

#[link(wasm_import_module = "host")]
extern "C" {
fn host_fail();
}

#[app]
mod App {
#[template]
mod Template {
#[ctor]
fn initialize() {}

Expand Down
24 changes: 24 additions & 0 deletions crates/runtime/tests/wasm/calldata/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/runtime/tests/wasm/calldata/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use svm_sdk::{app, Address};
use svm_sdk::{template, Address};

#[app]
mod App {
#[template]
mod Template {
#[storage]
struct Storage {
addr: Address,
Expand Down
Binary file modified crates/runtime/tests/wasm/runtime_calldata.wasm
Binary file not shown.