Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xvv committed May 27, 2022
1 parent f8988bc commit 786a420
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions cast/src/rlp_converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ use rlp::{Decodable, DecoderError, Encodable, Rlp, RlpStream};
use serde_json::Value;
use std::fmt::{Debug, Display, Formatter, LowerHex};

//TODO ADD INT SUPPORT ?
/// Arbitrarly nested data
/// Iem::Array(vec![] }; is equivalent to []
/// Iem::Array(vec![Item::Data(vec![])] }; is equivalent to [""] or [null]
/// Iem::Array(vec![]); is equivalent to []
/// Iem::Array(vec![Item::Data(vec![])]); is equivalent to [""] or [null]
#[derive(Debug, Clone, Eq, PartialEq)]
pub enum Item {
Data(Vec<u8>),
Expand Down
2 changes: 1 addition & 1 deletion cli/src/opts/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Examples:
#[clap(name = "--hex-to-rlp")]
#[clap(about = "Encodes an array of hex data or hex data to RLP data")]
HexToRlp { value: Option<String> },
#[clap(name = "--from-rlp-hex")]
#[clap(name = "--hex-from-rlp")]
#[clap(about = "Decodes hex RLP encoded data ")]
HexFromRlp { value: Option<String> },
#[clap(name = "access-list")]
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/it/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ forgetest_external!(geb, "reflexer-labs/geb", &["--chain-id", "99"]);
forgetest_external!(stringutils, "Arachnid/solidity-stringutils");
// forgetest_external!(vaults, "Rari-Capital/vaults");
forgetest_external!(multicall, "makerdao/multicall", &["--block-number", "1"]);
//forgetest_external!(lootloose, "gakonst/lootloose");
forgetest_external!(lootloose, "gakonst/lootloose");
forgetest_external!(lil_web3, "m1guelpf/lil-web3");
forgetest_external!(maple_loan, "maple-labs/loan");

Expand Down

0 comments on commit 786a420

Please sign in to comment.