Skip to content

Commit

Permalink
Merge pull request #6 from weaveVM/dev
Browse files Browse the repository at this point in the history
feat: v0.1.1
  • Loading branch information
charmful0x authored Aug 12, 2024
2 parents baa61ac + d179f94 commit 75056d4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 20 deletions.
9 changes: 8 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
[package]
name = "wvm-archiver"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
description = "EL data pipeline for WVM testnet v0"
authors = ["charmful0x <[email protected]>"]
license = "MIT"
repository = "https://github.com/weavevm/wvm-archiver"
readme = "README.md"
documentation = "https://docs.wvm.dev"
keywords = ["wvm", "indexer", "arweave"]

[dependencies]
anyhow = "1.0.86"
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
## About
WeaveVM Archiver is an ETL archive pipeline for EVM networks. It's the simplest way to interface with WeaveVM's permanent data feature without smart contract redeployments.

### WeaveVM Archiver Usage

WeaveVM Archiver is the ideal choice if you want to:

- Interface with WeaveVM's permanent data settlement and high-throughput DA
- Maintain your current data settlement or DA architecture
- Have an interface with WeaveVM without rollup smart contract redeployments
- Avoid codebase refactoring

## Build & Run

```bash
Expand Down
2 changes: 1 addition & 1 deletion networks/metis.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Metis",
"network_chain_id": 1088,
"wvm_chain_id": 9999777,
"wvm_chain_id": 9496,
"network_rpc": "https://andromeda.metis.io/?owner=1088",
"wvm_rpc": "https://testnet-rpc.wvm.dev",
"block_time": 9,
Expand Down
2 changes: 1 addition & 1 deletion networks/optimism.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Optimism",
"network_chain_id": 10,
"wvm_chain_id": 9999777,
"wvm_chain_id": 9496,
"network_rpc": "https://mainnet.optimism.io",
"wvm_rpc": "https://testnet-rpc.wvm.dev",
"block_time": 2,
Expand Down
34 changes: 17 additions & 17 deletions src/utils/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,26 @@ impl Network {
pub struct Block {
pub base_fee_per_gas: Option<String>, // "baseFeePerGas"
pub blob_gas_used: Option<String>, // "blobGasUsed"
pub difficulty: String, // "difficulty"
pub difficulty: Option<String>, // "difficulty"
pub excess_blob_gas: Option<String>, // "excessBlobGas"
pub extra_data: String, // "extraData"
pub gas_limit: String, // "gasLimit"
pub gas_used: String, // "gasUsed"
pub hash: String, // "hash"
pub logs_bloom: String, // "logsBloom"
pub miner: String, // "miner"
pub mix_hash: String, // "mixHash"
pub nonce: String, // "nonce"
pub number: String, // "number"
pub extra_data: Option<String>, // "extraData"
pub gas_limit: Option<String>, // "gasLimit"
pub gas_used: Option<String>, // "gasUsed"
pub hash: Option<String>, // "hash"
pub logs_bloom: Option<String>, // "logsBloom"
pub miner: Option<String>, // "miner"
pub mix_hash: Option<String>, // "mixHash"
pub nonce: Option<String>, // "nonce"
pub number: Option<String>, // "number"
pub parent_beacon_block_root: Option<String>, // "parentBeaconBlockRoot"
pub parent_hash: String, // "parentHash"
pub receipts_root: String, // "receiptsRoot"
pub parent_hash: Option<String>, // "parentHash"
pub receipts_root: Option<String>, // "receiptsRoot"
pub seal_fields: Vec<String>, // "sealFields" as an array of strings
pub sha3_uncles: String, // "sha3Uncles"
pub size: String, // "size"
pub state_root: String, // "stateRoot"
pub timestamp: String, // "timestamp"
pub total_difficulty: String, // "totalDifficulty"
pub sha3_uncles: Option<String>, // "sha3Uncles"
pub size: Option<String>, // "size"
pub state_root: Option<String>, // "stateRoot"
pub timestamp: Option<String>, // "timestamp"
pub total_difficulty: Option<String>, // "totalDifficulty"
pub transactions: Vec<String>, // "transactions" as an array of strings
}

Expand Down

0 comments on commit 75056d4

Please sign in to comment.