update crate references, bump version

This commit is contained in:
boneyard93501
2021-06-15 13:08:11 -05:00
parent 4b8f88c9b2
commit 5d34d1e016
69 changed files with 122 additions and 118 deletions

View File

@ -218,7 +218,7 @@ That's it !!
While there are no hard and fast rules to determine optional service granularity, [theory](https://onlinelibrary.wiley.com/doi/full/10.1002/spe.2869) and common sense do help. Let's look at what could be a fine-grained, self-contained service: A service that could generate the [method id](https://docs.soliditylang.org/en/latest/abi-spec.html) for Ethereum smart contract functions. A simple method id [generator](facade/src/eth_hashers.rs) may look like this:
```rust
use fluence::fce;
use marine_rs_sdk::fce;
use tiny_keccak::Sha3;
#[fce]

View File

@ -10,5 +10,5 @@ path = "src/main.rs"
name = "curl_adapter"
[dependencies]
fluence = { version = "=0.6.9", features = ["logger"]}
marine-rs-sdk = { version = "=0.6.10", features = ["logger"]}
log = "0.4.8"

View File

@ -16,10 +16,10 @@
#![allow(improper_ctypes)]
use fluence::marine;
use fluence::module_manifest;
use fluence::MountedBinaryResult;
use fluence::WasmLoggerBuilder;
use marine_rs_sdk::marine;
use marine_rs_sdk::module_manifest;
use marine_rs_sdk::MountedBinaryResult;
use marine_rs_sdk::WasmLoggerBuilder;
module_manifest!();

View File

@ -14,7 +14,7 @@ path = "src/main.rs"
[dependencies]
serde = {version = "1.0.118", features = ["derive"] }
serde_json = "1.0.64"
fluence = { version = "=0.6.9", features = ["logger"]}
marine-rs-sdk = { version = "=0.6.10", features = ["logger"]}
log = "0.4.8"
chrono = "0.4.19"
ethereum-types = "0.11.0"

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
use fluence::marine;
use marine_rs_sdk::marine;
use serde::{Deserialize, Serialize};
use serde_json;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
use fluence::marine;
use marine_rs_sdk::marine;
use serde::{Deserialize, Serialize};
use serde_json;

View File

@ -19,7 +19,7 @@ use crate::eth_utils::{check_response_string, get_nonce, BLOCK_NUMBER_TAGS};
use crate::fce_results::JsonRpcResult;
use crate::jsonrpc_helpers::{batch, Request};
use chrono::Utc;
use fluence::marine;
use marine_rs_sdk::marine;
use serde::{Deserialize, Deserializer, Serialize};
use serde_json;
use serde_json::Value;

View File

@ -18,7 +18,7 @@ use crate::eth_calls::{eth_get_balance, eth_get_tx_by_hash};
use crate::eth_filters::{get_filter_changes, new_pending_tx_filter, uninstall_filter};
use crate::eth_utils::wei_to_eth;
use crate::fce_results::TestResult;
use fluence::marine;
use marine_rs_sdk::marine;
#[marine]
fn test_eth_get_balance_good(url: String) -> TestResult {

View File

@ -18,7 +18,7 @@ use crate::eth_calls::{eth_get_balance, eth_get_tx_by_hash};
use crate::eth_filters::{get_filter_changes, new_pending_tx_filter, uninstall_filter};
use crate::eth_utils::wei_to_eth;
use crate::fce_results::TestResult;
use fluence::marine;
use marine_rs_sdk::marine;
use serde_json;
use serde_json::Value;

View File

@ -19,7 +19,7 @@ use crate::eth_utils::{check_response_string, get_nonce};
use crate::fce_results::JsonRpcResult;
use crate::jsonrpc_helpers::Request;
use crate::jsonrpc_helpers::JSON_RPC;
use fluence::marine;
use marine_rs_sdk::marine;
use serde_json::Value;
/// see:

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
use fluence::marine;
use marine_rs_sdk::marine;
use tiny_keccak::{Hasher, Keccak};
#[marine]

View File

@ -1,4 +1,4 @@
use fluence::marine;
use marine_rs_sdk::marine;
#[marine]
pub fn eth_type_test() {

View File

@ -16,7 +16,7 @@
use crate::jsonrpc_helpers::JSON_RPC;
use crate::Result;
use fluence::marine;
use marine_rs_sdk::marine;
use serde_json::Value;
#[marine]

View File

@ -22,10 +22,10 @@
unused_mut
)]
use fluence::marine;
use fluence::module_manifest;
use fluence::MountedBinaryResult;
use fluence::WasmLoggerBuilder;
use marine_rs_sdk::marine;
use marine_rs_sdk::module_manifest;
use marine_rs_sdk::MountedBinaryResult;
use marine_rs_sdk::WasmLoggerBuilder;
mod data_processing;
mod eth_calls;