Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interstellar Network M3 #518

Merged
merged 7 commits into from
Aug 18, 2022
Merged

Interstellar Network M3 #518

merged 7 commits into from
Aug 18, 2022

Conversation

nashjl
Copy link
Contributor

@nashjl nashjl commented Aug 1, 2022

Milestone Delivery Checklist

Link to the application pull request: w3f/Grants-Program#734 < please fill this in with the PR number of your application.

@alxs alxs changed the title M3 Interstellar Network M3 Aug 2, 2022
@takahser
Copy link
Contributor

takahser commented Aug 3, 2022

Thanks for the delivery, @nashjl! We will look into it as soon as possible.

@nashjl
Copy link
Contributor Author

nashjl commented Aug 3, 2022

Thanks for the delivery, @nashjl! We will look into it as soon as possible.
Thank you @takahser!!!

@ashlink11 ashlink11 self-assigned this Aug 3, 2022
@ashlink11
Copy link
Contributor

Hi @nashjl, thank you for your delivery. Please forgive the delay. I'm working very hard on my current evaluation so I can get to review your mobile client next! I'm very excited for this milestone of yours!

@nashjl
Copy link
Contributor Author

nashjl commented Aug 12, 2022

Hi @cruikshankss , Thanks for your message and your continuous interest in our technology. No problem, we understand.
We are happy that you will work on the evaluation soon.

@ashlink11
Copy link
Contributor

Good day @nashjl! I was able to review your testing guide. The testing guide doesn't seem very friendly to Mac users who need to set up an emulator. Would you be either willing to wait to see if I could trade the evaluation with someone else, or would you be able to make a Mac-based testing guide, or would you be able to set up a video demo call with me sometime this week? Thanks & cheers! -Ashley

@nashjl
Copy link
Contributor Author

nashjl commented Aug 16, 2022

Thanks @cruikshankss, for the different options you suggested.
I understand. BTW: What is the CPU on your Mac x86 or arm M1?
We will come back to you asap. Thanks & cheers -Jean-Luc

@ashlink11
Copy link
Contributor

@nashjl I actually found a colleague with Android who is willing to trade evaluations with me, so no need for the Mac testing guide. We're meeting in the next hour to brief each other and will report back ASAP.

@lucasvanmol lucasvanmol self-assigned this Aug 17, 2022
@lucasvanmol
Copy link
Contributor

Hi there @nashjl,

I'm following the very helpful demo tutorial here: https://book.interstellar.gg/M3_demo_tutorial.html
The setup seems to have worked, and I'm now trying to run the demo. I start up the docker containers with the provided command and I'm trying to complete the step Generate with ocwCircuits the configuration display circuit package.

Notably, I try to submit the submitConfigDisplayCircuitsPackagedSigned, but under "Events" I only get one "system:ExtrinsicSuccess" event and one "balances:Withdraw" event - nothing from "ocwCircuits". Below are the logs for the docker containers; there is a panic somewhere, and I think it may be related to the fact that the containers api_garble and api_circuits are showing errors in their logs and exiting by themselves.

This is on an Apple M1 mac, and after very briefly looking into the error qemu: uncaught target signal 4 (Illegal instruction) - core dumped I found this issue on a completely seperate tool which may be related: strapi/strapi-docker#307. I'm wondering if you have any solution or experience with this error? Or would the only solution be to try on an x86 chip?

[+] Running 5/5
 ⠿ Container blockchain_demo-ocw-1           Removed                                                                                                                                                   0.0s
 ⠿ Container blockchain_demo-api_garble-1    Removed                                                                                                                                                   0.0s
 ⠿ Container blockchain_demo-api_circuits-1  Removed                                                                                                                                                   0.0s
 ⠿ Container blockchain_demo-ipfs-1          Removed                                                                                                                                                   0.0s
 ⠿ Network blockchain_demo_default           Removed                                                                                                                                                   0.0s
[+] Running 5/5
 ⠿ Network blockchain_demo_default           Created                                                                                                                                                   0.0s
 ⠿ Container blockchain_demo-api_garble-1    Created                                                                                                                                                   0.1s
 ⠿ Container blockchain_demo-ocw-1           Created                                                                                                                                                   0.1s
 ⠿ Container blockchain_demo-api_circuits-1  Created                                                                                                                                                   0.1s
 ⠿ Container blockchain_demo-ipfs-1          Created                                                                                                                                                   0.1s
Attaching to blockchain_demo-api_circuits-1, blockchain_demo-api_garble-1, blockchain_demo-ipfs-1, blockchain_demo-ocw-1
blockchain_demo-ipfs-1          | Changing user to ipfs
blockchain_demo-api_garble-1    | qemu: uncaught target signal 4 (Illegal instruction) - core dumped
blockchain_demo-ipfs-1          | ipfs version 0.13.1
blockchain_demo-ipfs-1          | generating ED25519 keypair...done
blockchain_demo-ipfs-1          | peer identity: 12D3KooWKApPetNAnERBHqct8iCJC4UfdpUhsR15F6MS6Sh8TMFw
blockchain_demo-ipfs-1          | initializing IPFS node at /data/ipfs
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 Substrate Node    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 ✌️  version 4.0.0-dev-unknown-x86_64-linux-gnu    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 ❤️  by Substrate DevHub <https://github.com/substrate-developer-hub>, 2017-2022    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 📋 Chain specification: Development    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 🏷  Node name: therapeutic-behavior-5338    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 👤 Role: AUTHORITY    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 💾 Database: RocksDb at /tmp/substrateigDBGi/chains/dev/db/full    
blockchain_demo-ocw-1           | 2022-08-17 09:49:35 ⛓  Native runtime: node-template-100 (node-template-1.tx1.au1)    
blockchain_demo-api_circuits-1  | qemu: uncaught target signal 4 (Illegal instruction) - core dumped
blockchain_demo-api_circuits-1  | Illegal instruction
blockchain_demo-ipfs-1          | to get started, enter:
blockchain_demo-ipfs-1          | 
blockchain_demo-ipfs-1          | 	ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
blockchain_demo-ipfs-1          | 
blockchain_demo-api_circuits-1 exited with code 132
blockchain_demo-ipfs-1          | Initializing daemon...
blockchain_demo-ipfs-1          | go-ipfs version: 0.13.1-8ffc7a8
blockchain_demo-ipfs-1          | Repo version: 12
blockchain_demo-ipfs-1          | System version: arm64/linux
blockchain_demo-ipfs-1          | Golang version: go1.18.3
blockchain_demo-ipfs-1          | Swarm listening on /ip4/127.0.0.1/tcp/44931
blockchain_demo-ipfs-1          | Swarm listening on /p2p-circuit
blockchain_demo-ipfs-1          | Swarm announcing /ip4/127.0.0.1/tcp/44931
blockchain_demo-ipfs-1          | API server listening on /ip4/0.0.0.0/tcp/5001
blockchain_demo-ipfs-1          | WebUI: http://0.0.0.0:5001/webui
blockchain_demo-ipfs-1          | Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/8080
blockchain_demo-ipfs-1          | Daemon is ready
blockchain_demo-ocw-1           | 2022-08-17 09:49:38 🔨 Initializing Genesis block/state (state: 0xff23…36cb, header-hash: 0xb6c1…bb01)    
blockchain_demo-ocw-1           | 2022-08-17 09:49:38 👴 Loading GRANDPA authority set from genesis on what appears to be first startup.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:39 Using default protocol ID "sup" because none is configured in the chain specs    
blockchain_demo-ocw-1           | 2022-08-17 09:49:39 🏷  Local node identity is: 12D3KooWDkqXVAWH2ex4VmHxeY6E8pnUqa4PnGxmBLEqQMyTWHeW    
blockchain_demo-ocw-1           | 2022-08-17 09:49:40 📦 Highest known block at #0    
blockchain_demo-ocw-1           | 2022-08-17 09:49:40 〽️ Prometheus exporter started at 127.0.0.1:9615    
blockchain_demo-ocw-1           | 2022-08-17 09:49:40 Listening for new connections on 0.0.0.0:9944.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 🙌 Starting consensus session on top of parent 0xb6c16ab0efab34570326d4b7e2f68073d499f0bafa5593c0d2d78877f0c5bb01    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 🎁 Prepared block for proposing at 1 (27 ms) [hash: 0x7f62cc14f2f543a98c23fbd2dbe205f7681d502a0a16ecd00f2e0b8ef8980383; parent_hash: 0xb6c1…bb01; extrinsics (1): [0x9b70…d9f8]]    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 🔖 Pre-sealed block for proposal at 1. Hash now 0xf3e2883dce6bf51844421ab8569f45399a43976c9be7886c0aa4f6d7d2b99a15, previously 0x7f62cc14f2f543a98c23fbd2dbe205f7681d502a0a16ecd00f2e0b8ef8980383.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 ✨ Imported #1 (0xf3e2…9a15)    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 [ocw-circuits] Hello from pallet-ocw-circuits.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 [ocw-circuits] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 [ocw-garble] Hello from pallet-ocw-garble.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:42 [ocw-garble] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:49:44 Accepted a new tcp connection from 172.28.0.1:65506.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:45 💤 Idle (0 peers), best: #1 (0xf3e2…9a15), finalized #0 (0xb6c1…bb01), ⬇ 0 ⬆ 0    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 🙌 Starting consensus session on top of parent 0xf3e2883dce6bf51844421ab8569f45399a43976c9be7886c0aa4f6d7d2b99a15    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 🎁 Prepared block for proposing at 2 (6 ms) [hash: 0x99f8b2ff8d010beff62409254778103d11ab798e0acb5a80cd3f34d00df0a5e9; parent_hash: 0xf3e2…9a15; extrinsics (1): [0xa42e…8fc3]]    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 🔖 Pre-sealed block for proposal at 2. Hash now 0x5def15ab986520f2be6dcaf18023c66ff7769639614c8b59e197fa5ac0a60fb3, previously 0x99f8b2ff8d010beff62409254778103d11ab798e0acb5a80cd3f34d00df0a5e9.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 ✨ Imported #2 (0x5def…0fb3)    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 [ocw-circuits] Hello from pallet-ocw-circuits.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 [ocw-circuits] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 [ocw-garble] Hello from pallet-ocw-garble.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:48 [ocw-garble] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:49:50 💤 Idle (0 peers), best: #2 (0x5def…0fb3), finalized #0 (0xb6c1…bb01), ⬇ 0 ⬆ 0    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 🙌 Starting consensus session on top of parent 0x5def15ab986520f2be6dcaf18023c66ff7769639614c8b59e197fa5ac0a60fb3    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 [ocw-circuits] submit_config_display_circuits_package_signed: (d43593c715fdd31c61141abd04a99fd6822c8558854ccde39a5684e7a56da27d (5GrwvaEF...))    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 🎁 Prepared block for proposing at 3 (23 ms) [hash: 0xac7953b5bdcf169c50504fdc62558ad79717326c636304b7ecf2d941e42b7ce4; parent_hash: 0x5def…0fb3; extrinsics (2): [0x08b2…92df, 0x2d04…69ed]]    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 🔖 Pre-sealed block for proposal at 3. Hash now 0x988f9c6b414f472e083a3a14f984c43bd4277981458d9fbd43f6d0eb8561e863, previously 0xac7953b5bdcf169c50504fdc62558ad79717326c636304b7ecf2d941e42b7ce4.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 ✨ Imported #3 (0x988f…e863)    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 [ocw-circuits] Hello from pallet-ocw-circuits.    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 fetch_from_remote_grpc_web: url = http://api_circuits:3000/interstellarpbapicircuits.SkcdApi/GenerateSkcdDisplay, sending body b64 = AAAAACgIgAUQ6AIaIAAAgD7NzMw9ZmbmPmZmZj/NzAw/zczMPQAAQD9mZmY/    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 Requested started id=766 method=POST uri=http://api_circuits:3000/interstellarpbapicircuits.SkcdApi/GenerateSkcdDisplay
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 [ocw-circuits] call_grpc_display error: Error::IoError    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 fetch_from_remote_grpc_web: url = http://api_circuits:3000/interstellarpbapicircuits.SkcdApi/GenerateSkcdDisplay, sending body b64 = AAAAAKgIzgQQMhqgAQAAAAAAAAAAzczMPQAAgD/NzMw9AAAAAM3MTD4AAIA/zcxMPgAAAACamZk+AACAP5qZmT4AAAAAzczMPgAAgD/NzMw+AAAAAAAAAD8AAIA/AAAAPwAAAACamRk/AACAP5qZGT8AAAAAMzMzPwAAgD8zMzM/AAAAAM3MTD8AAIA/zcxMPwAAAABnZmY/AACAP2dmZj8AAAAAAACAPwAAgD8=    
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 Requested started id=767 method=POST uri=http://api_circuits:3000/interstellarpbapicircuits.SkcdApi/GenerateSkcdDisplay
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 [ocw-circuits] call_grpc_display error: Error::IoError    
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | ====================
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | Version: 4.0.0-dev-unknown-x86_64-linux-gnu
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           |    0: sp_panic_handler::set::{{closure}}
blockchain_demo-ocw-1           |    1: std::panicking::rust_panic_with_hook
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:702:17
blockchain_demo-ocw-1           |    2: std::panicking::begin_panic_handler::{{closure}}
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:588:13
blockchain_demo-ocw-1           |    3: std::sys_common::backtrace::__rust_end_short_backtrace
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/sys_common/backtrace.rs:138:18
blockchain_demo-ocw-1           |    4: rust_begin_unwind
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/panicking.rs:584:5
blockchain_demo-ocw-1           |    5: core::panicking::panic_fmt
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/panicking.rs:142:14
blockchain_demo-ocw-1           |    6: core::result::unwrap_failed
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/core/src/result.rs:1785:5
blockchain_demo-ocw-1           |    7: <(TupleElement0,TupleElement1) as frame_support::traits::misc::OffchainWorker<BlockNumber>>::offchain_worker
blockchain_demo-ocw-1           |    8: frame_executive::Executive<System,Block,Context,UnsignedValidator,AllPalletsWithSystem,COnRuntimeUpgrade>::offchain_worker
blockchain_demo-ocw-1           |    9: sp_offchain::runtime_decl_for_OffchainWorkerApi::offchain_worker_native_call_generator::{{closure}}
blockchain_demo-ocw-1           |   10: std::thread::local::LocalKey<T>::with
blockchain_demo-ocw-1           |   11: sc_executor::native_executor::WasmExecutor<H>::with_instance::{{closure}}
blockchain_demo-ocw-1           |   12: sc_executor::wasm_runtime::RuntimeCache::with_instance
blockchain_demo-ocw-1           |   13: <sc_executor::native_executor::NativeElseWasmExecutor<D> as sp_core::traits::CodeExecutor>::call
blockchain_demo-ocw-1           |   14: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_aux
blockchain_demo-ocw-1           |   15: sp_state_machine::execution::StateMachine<B,H,Exec>::execute_using_consensus_failure_handler
blockchain_demo-ocw-1           |   16: <sc_service::client::call_executor::LocalCallExecutor<Block,B,E> as sc_client_api::call_executor::CallExecutor<Block>>::contextual_call
blockchain_demo-ocw-1           |   17: <sc_service::client::client::Client<B,E,Block,RA> as sp_api::CallApiAt<Block>>::call_api_at
blockchain_demo-ocw-1           |   18: sp_offchain::runtime_decl_for_OffchainWorkerApi::offchain_worker_call_api_at
blockchain_demo-ocw-1           |   19: <node_template_runtime::RuntimeApiImpl<__SR_API_BLOCK__,RuntimeApiImplCall> as sp_offchain::OffchainWorkerApi<__SR_API_BLOCK__>>::OffchainWorkerApi_offchain_worker_runtime_api_impl
blockchain_demo-ocw-1           |   20: <F as threadpool::FnBox>::call_box
blockchain_demo-ocw-1           |   21: std::sys_common::backtrace::__rust_begin_short_backtrace
blockchain_demo-ocw-1           |   22: core::ops::function::FnOnce::call_once{{vtable.shim}}
blockchain_demo-ocw-1           |   23: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/alloc/src/boxed.rs:1872:9
blockchain_demo-ocw-1           |       <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/alloc/src/boxed.rs:1872:9
blockchain_demo-ocw-1           |       std::sys::unix::thread::Thread::new::thread_start
blockchain_demo-ocw-1           |              at rustc/e092d0b6b43f2de967af0887873151bb1c0b18d3/library/std/src/sys/unix/thread.rs:108:17
blockchain_demo-ocw-1           |   24: start_thread
blockchain_demo-ocw-1           |   25: clone
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | Thread 'offchain-worker' panicked at 'message_reply failed!: HttpFetchingError', /usr/src/app/pallets/ocw-circuits/src/lib.rs:561
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | This is a bug. Please report it at:
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | 	support.anonymous.an
blockchain_demo-ocw-1           | 
blockchain_demo-ocw-1           | 2022-08-17 09:49:54 Error running offchain workers at BlockId::Hash(0x988f9c6b414f472e083a3a14f984c43bd4277981458d9fbd43f6d0eb8561e863): Execution failed: Runtime panicked: message_reply failed!: HttpFetchingError
blockchain_demo-ocw-1           | 2022-08-17 09:49:55 💤 Idle (0 peers), best: #3 (0x988f…e863), finalized #0 (0xb6c1…bb01), ⬇ 0 ⬆ 0    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 🙌 Starting consensus session on top of parent 0x988f9c6b414f472e083a3a14f984c43bd4277981458d9fbd43f6d0eb8561e863    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 🎁 Prepared block for proposing at 4 (7 ms) [hash: 0xbe646a2b1e842983a63134fff561f706367fd1c3768c573e6bcfcd33969d106e; parent_hash: 0x988f…e863; extrinsics (1): [0xb0f7…3b9b]]    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 🔖 Pre-sealed block for proposal at 4. Hash now 0x2aff8f435a4376374d96779cc74012d8c431373bad4d826611797d1cf4f94603, previously 0xbe646a2b1e842983a63134fff561f706367fd1c3768c573e6bcfcd33969d106e.    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 ✨ Imported #4 (0x2aff…4603)    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 [ocw-circuits] Hello from pallet-ocw-circuits.    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 [ocw-circuits] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 [ocw-garble] Hello from pallet-ocw-garble.    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 [ocw-garble] nothing to do, returning...    
blockchain_demo-ocw-1           | 2022-08-17 09:50:00 💤 Idle (0 peers), best: #4 (0x2aff…4603), finalized #1 (0xf3e2…9a15), ⬇ 0 ⬆ 0    
blockchain_demo-ocw-1           | 2022-08-17 09:50:05 💤 Idle (0 peers), best: #4 (0x2aff…4603), finalized #2 (0x5def…0fb3), ⬇ 0 ⬆ 0  

@n-prat
Copy link
Contributor

n-prat commented Aug 17, 2022

Hi,

For what I read in the docker docs:

In summary, running Intel-based containers on Arm-based machines should be regarded as “best effort” only.

Do you have the option to use a Linux VM and run the containers in it?
As I do not have a M1 Mac, trying to make our stack run on it is going to be complicated.

Then depending on how you want to set up the "client side", you can either install the Emulator (ie Android Studio) directly on bare metal or inside the VM. Finally using ssh forwarding and adb you can connect things up as needed.

Note: only the client side needs a window manager. You can run the server stack in a headless VM.

@lucasvanmol
Copy link
Contributor

Thanks for that! I got it running on a Linux server and it appears to be working - I'm going through the rest of the delivery now. Just one question regarding the iOS app:

The core code of Mobile TTVP client is shared by both Android and iOS, however the iOS version is not yet fully tested but a tested build will also be avalaible for iOS.

Does this mean an iOS build will be available in the near future, as in during one of the next milestones?

@n-prat
Copy link
Contributor

n-prat commented Aug 17, 2022

I have a branch with an iOs build, but:

  • it is only tested on an old Intel Mac mini
  • it is only a PoC: no fancy SwiftUI, just the Rust code running for the circuit evaluation and substrate client in a blank page; ie the same screen you get on Android after pressing "Send"

I am not sure we have the bandwidth right now to create the same UI for iOs than we have made for Android.

@lucasvanmol
Copy link
Contributor

Thanks for getting back to me, I've discussed with the grants team and we will just evaluate the milestone without the inclusion of the iOS app. If you wish to continue development on the iOS version in the future, feel free to either submit an amendment or submit a follow-up grant (once all the milestones on this one have been completed) in order to have more resources at your disposal.

@nashjl
Copy link
Contributor Author

nashjl commented Aug 17, 2022

Hi @lucasvanmol, Thanks for this information. Yes, we wish to continue the development on the iOS version.

@lucasvanmol
Copy link
Contributor

Great to hear! I've also had a chance to look at the rest of your delivery and have accepted it. You can take a look at my feedback here: https://github.com/w3f/Grant-Milestone-Delivery/blob/master/evaluations/interstellar_3_lucasvanmol.md

Additionally, I'll forward your invoice internally for processing.

@lucasvanmol lucasvanmol merged commit 27bfd53 into w3f:master Aug 18, 2022
@n-prat
Copy link
Contributor

n-prat commented Aug 18, 2022

Amazing! Thanks!

@nashjl
Copy link
Contributor Author

nashjl commented Aug 18, 2022

Great !!! Thanks a lot @lucasvanmol for your helpful feedback and recommendations, we will pay attention to unit-testing for the ocw-*pallets and will use cargo clippy.

At this stage we focus on functionality, but we aim at improving user-friendliness and visibility to make it more confortable for the user, there is room for improvement.
On another side, the current trend of increasing fps on mobile will also help a lot down the road. It is much more confortable when your device can reach 120 frames per second and even higher framerate in the future. Another point to notice is that your brain gets accustomed to this experience. When you are used to it, you can recognize the digits almost immediately, even at 60 fps.

@nashjl
Copy link
Contributor Author

nashjl commented Sep 1, 2022

Hi @lucasvanmol @cruikshankss @fededubbi

IMPORTANT/URGENT – Regarding M3 Invoice and related wire transfer:
Our bank will change their intermediary bank partner starting September 4.

If the wire transfer regarding our last invoices for M3 is not executed prior to September 4, please replace the intermediary bank (i.e., 56A) BNPAFRPP with this new one TRWIBEB3XXX

Many Thanks

@fededubbi
Copy link

Hi @nashjl,

Milestone 3 unfortunately has already been paid.
Please add this information in the next invoice.

Many thanks,
Federica

@nashjl
Copy link
Contributor Author

nashjl commented Sep 2, 2022

Hi @nashjl,

Milestone 3 unfortunately has already been paid. Please add this information in the next invoice.

Many thanks, Federica

Hi @fededubbi,
Sure we will do it for the next invoice.

But we did not receive the payment for the M3
When did the wire has been executed? Could you provide us with the MT103 sent to swift.... perhaps there is the same problem that with the first M1 payment.
Sorry for the inconvinience

Many thanks, Jean-Luc

@fededubbi
Copy link

Hi @nashjl,

We will check with our bank and let you know as soon as possible.

Many thanks,
Federica

@nashjl
Copy link
Contributor Author

nashjl commented Sep 7, 2022

Hi @nashjl,

We will check with our bank and let you know as soon as possible.

Many thanks, Federica

Hi @fededubbi

Did you get feedback from your bank?
Many Thanks
Jean-Luc

@fededubbi
Copy link

Hi @nashjl,

We are still checking with our bank.
When we will have some feedback will let you know.

Many thanks,
Federica

@nashjl
Copy link
Contributor Author

nashjl commented Sep 13, 2022

Hi @fededubbi,

Did you get news about the unreceived payment of M3 delivery (a month ago)
It would be nice if you could help us on this. We are still a small company, and this is important for us.

Many Thanks
Jean-Luc

@fededubbi
Copy link

Hi @nashjl,

I am really sorry for this, but we still didn't receive any update from our bank. We will check ASAP and let you know.
Sorry again for the delay.

Many thanks,
Federica

@nashjl
Copy link
Contributor Author

nashjl commented Sep 13, 2022

Thank you very much Federica

@fededubbi
Copy link

Hi @nashjl,

We just checked and the payment will be done tomorrow.

Let me know once received.

Many thanks,
Federica

@nashjl
Copy link
Contributor Author

nashjl commented Sep 15, 2022

Thanks a lot @fededubbi, sure I will let you know!

@nashjl
Copy link
Contributor Author

nashjl commented Sep 22, 2022

Hi @nashjl,

We just checked and the payment will be done tomorrow.

Let me know once received.

Many thanks, Federica

Hi @fededubbi. We did not receive the payment. Could your bank provide us with a MT103 in order to identify the problem.

Many Thanks
Jean-Luc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants