Skip to content

Commit

Permalink
conflicts resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
newbreedofgeek committed May 7, 2024
2 parents d6c11df + 3bc0613 commit 9ffc404
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ See `devnet.snippets.sh` for list of available endpoints for user testing.

### Setting up dev environment (project development bootstrap) + how to build (and upgrade)

<<<<<<< HEAD
- Uses `multiversx-sc-* 0.47.5` (In v2.0.0, we used 0.47.8) SDK libs (see Cargo.toml)
- Building requires minimum **mxpy 9.5.1** (In v2.0.0, we used mxpy 9.5.1). Check version using `mxpy --version`
- To build the project, requires minimum Rust version `1.78.0-nightly` (In v2.0.0, we used 1.78.0-nightly). Check your Rust version by running `rustc --version`. To update your Rust, run `rustup update`. To set to nightly run `rustup default nightly`. Note that `mxpy deps install rust --overwrite` also brings in it's own compatible rust version so running `rustup default nightly` might have a higher rust version than what is used via `mxpy deps install rust --overwrite`.
=======
- Uses `multiversx-sc-* 0.47.8` (In v1.0.0, we used 0.47.8) SDK libs (see Cargo.toml)
- Building requires minimum **mxpy 9.5.1** (In v1.0.0, we used mxpy 9.5.1). Check version using `mxpy --version`
- To build the project, requires minimum Rust version `1.78.0-nightly` (In v1.0.0, we used 1.78.0-nightly). Check your Rust version by running `rustc --version`. To update your Rust, run `rustup update`. To set to nightly run `rustup default nightly`. Note that `mxpy deps install rust --overwrite` also brings in it's own compatible rust version so running `rustup default nightly` might have a higher rust version than what is used via `mxpy deps install rust --overwrite`.
>>>>>>> main
- After you make sure you have the minimum Rust version you can then begin development. After you clone repo and before you run build, deploy or run the tests - follow these steps (most likely only needed the 1st time)
- [Upgrades] Note that when we upgrade smart contract, we should again follow the steps below too as lib version may have changed (but for upgrade I skipped the rustup default nightly cmd and did the others)

Expand Down
2 changes: 1 addition & 1 deletion interaction/devnet.snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ initiateBond() {
--proxy ${PROXY} \
--chain ${CHAIN_ID} \
--send || return
}
}
2 changes: 1 addition & 1 deletion interaction/mainnet.snippets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,4 @@ initiateBondMainnet() {
--ledger \
--ledger-address-index 0 \
--send || return
}
}

0 comments on commit 9ffc404

Please sign in to comment.