chore(deps): bump solang (#796)
* chore(deps): bump solang * fix: breaking test
This commit is contained in:
parent
93878e45c9
commit
d2318d285d
|
@ -3369,7 +3369,7 @@ dependencies = [
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "solang-parser"
|
name = "solang-parser"
|
||||||
version = "0.1.1"
|
version = "0.1.1"
|
||||||
source = "git+https://github.com/hyperledger-labs/solang#190f7205dd2ec50f8d930741785a79e6ddf0148b"
|
source = "git+https://github.com/hyperledger-labs/solang#67f1325a5aabd513289106585f97bdfe2efd647d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"lalrpop",
|
"lalrpop",
|
||||||
"lalrpop-util",
|
"lalrpop-util",
|
||||||
|
|
|
@ -1450,9 +1450,12 @@ mod tests {
|
||||||
|
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
#[ignore]
|
#[ignore]
|
||||||
|
#[cfg(feature = "ws")]
|
||||||
async fn test_trace_call_many() {
|
async fn test_trace_call_many() {
|
||||||
|
use ethers_core::types::H160;
|
||||||
|
|
||||||
// TODO: Implement ErigonInstance, so it'd be possible to test this.
|
// TODO: Implement ErigonInstance, so it'd be possible to test this.
|
||||||
let provider = Provider::new(Ws::connect("ws://127.0.0.1:8545").await.unwrap());
|
let provider = Provider::new(crate::Ws::connect("ws://127.0.0.1:8545").await.unwrap());
|
||||||
let traces = provider
|
let traces = provider
|
||||||
.trace_call_many(
|
.trace_call_many(
|
||||||
vec![
|
vec![
|
||||||
|
|
|
@ -423,7 +423,7 @@ fn parse_data(content: &str) -> SolData {
|
||||||
Ok(units) => {
|
Ok(units) => {
|
||||||
for unit in units.0 {
|
for unit in units.0 {
|
||||||
match unit {
|
match unit {
|
||||||
SourceUnitPart::PragmaDirective(_, pragma, value) => {
|
SourceUnitPart::PragmaDirective(_, _, pragma, value) => {
|
||||||
if pragma.name == "solidity" {
|
if pragma.name == "solidity" {
|
||||||
// we're only interested in the solidity version pragma
|
// we're only interested in the solidity version pragma
|
||||||
version = Some(value.string);
|
version = Some(value.string);
|
||||||
|
|
Loading…
Reference in New Issue