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

Eth2-to-Near-relay: minor improvements, tests improvements and fixes #818

Merged
merged 56 commits into from
Sep 28, 2022

Conversation

olga24912
Copy link
Contributor

@olga24912 olga24912 commented Sep 19, 2022

  • separate all files path into config
  • generate tests files for goerli network

#790

@olga24912 olga24912 force-pushed the eth2near-relay-configurable-tests branch from 481362f to b859cab Compare September 22, 2022 05:40
@olga24912 olga24912 requested a review from sept-en September 22, 2022 08:20
@sept-en
Copy link
Contributor

sept-en commented Sep 22, 2022

@olga24912 please merge the master branch into PR's branch

.github/workflows/contracts-near.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@karim-en karim-en left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the tests is failing.

Also please add a comment to the ./test.sh script, to clarify how to run the tests locally

#export API_KEY=<YOUR_INFURA_API_KEY>

@sept-en sept-en changed the title Eth2Near-Relay: fix tests and make tests configurable Eth2-to-Near-Relay: fix tests and make tests configurable Sep 28, 2022
@sept-en sept-en changed the title Eth2-to-Near-Relay: fix tests and make tests configurable Eth2-to-Near-relay: fix tests and make tests configurable Sep 28, 2022
@@ -35,6 +35,8 @@ impl Eth1RPCClient {
let val: Value = serde_json::from_str(&res)?;
let mut block_json = serde_json::to_string(&val["result"])?;

println!("{}", block_json);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, IMO this line shouldn't be here

@sept-en sept-en changed the title Eth2-to-Near-relay: fix tests and make tests configurable Eth2-to-Near-relay: minor improvements, tests improvements and fixes Sep 28, 2022
@sept-en sept-en merged commit dab74e4 into master Sep 28, 2022
@sept-en sept-en deleted the eth2near-relay-configurable-tests branch September 28, 2022 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relayers rust Pull requests that update Rust code testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants