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

fix: install packages for contracts in dockerfile #579

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

elliotBraem
Copy link

@elliotBraem elliotBraem commented Oct 7, 2024

Description

This PR fixes #578.

It looks like something broke in this change to Dockerfile and node-install. Doesn't seem we need node-install anymore either.

  • Install node and yarn, yarn install in contracts
  • General reordering in Dockerfile, make it clearer
  • Remove node-install.sh, not used anymore in favor of Dockerfile(?)
  • Update to TWITTER_PASSWORD and TWITTER_USERNAME
  • Update docs

I'm making some assumptions based on updated docs that this is how it should be. This change gives me a running node and the faucet command executes, and able to stake.

INFO[0000] [+] Saved ECDSA private key to /home/masa/.masa/masa_oracle_key.ecdsa
Approving staking contract to spend tokens...

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@elliotBraem elliotBraem changed the title Dockerfile: Installs packages for contracts, and general clean-up fix: Installs packages for contracts, and general clean-up Oct 7, 2024
@elliotBraem elliotBraem changed the title fix: Installs packages for contracts, and general clean-up fix: install packages for contracts in dockerfile Oct 7, 2024
Copy link

github-actions bot commented Oct 7, 2024

PR description is too short and seems to not fulfill PR template, please fill in

Dockerfile Outdated Show resolved Hide resolved
Dockerfile Outdated Show resolved Hide resolved
@mudler
Copy link
Contributor

mudler commented Oct 7, 2024

Thanks for having a look @elliotBraem !

mudler added a commit that referenced this pull request Oct 17, 2024
There was still some code reading from the filesystem instead of the
embedded files in the binary.
Regression introduced in #523.

Fixes: #578

See also: #579

Signed-off-by: mudler <[email protected]>
mudler added a commit that referenced this pull request Oct 17, 2024
* fix(contracts): load config from embedded

There was still some code reading from the filesystem instead of the
embedded files in the binary.
Regression introduced in #523.

Fixes: #578

See also: #579

Signed-off-by: mudler <[email protected]>

* chore(tests): temporarly disable Twitter tests

These are going to be taken care of as part of
#573

Signed-off-by: mudler <[email protected]>

---------

Signed-off-by: mudler <[email protected]>
@mudler
Copy link
Contributor

mudler commented Oct 17, 2024

@elliotBraem there were leftovers from the work with #492 . Should be fixed by #602 - can you confirm? Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker Setup: Failed to load contract addresses
3 participants