-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use new version of the connector. (#527)
* fix: Don't use env::signer_account_id Instead use env::predecessor_account_id. Using signer_account_id has the same problems of using tx.origin in Ethereum. See link below for more details: ethereum/solidity#683 * fix: Use fixed near-sdk-version Need to use fixed near-sdk-version for compatibility with rainbow-token-connector. This restriction will be lifted once the special commit used by the connector lands on near-sdk-rs. * Add test to check near contracts are compiled correctly * Fix pipeline.yml syntax * Update near-sdk from eth-types * Recompile contracts * fix: Use new version of the connector. TODO: Don't use current pinned commit from token-connector, instead wait until it is merged into master * Update arguments to deploy locker using new interface * Use fixed amount of gas * Compile contracts * Update tests * Update cli/package.json Use commit on master.
- Loading branch information
Showing
25 changed files
with
678 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
steps: | ||
- label: "build all rust contracts" | ||
command: | | ||
cd contracts/near/eth-client | ||
./build.sh | ||
cd ../eth-prover | ||
./build.sh | ||
git status | ||
changed_files=$$(git status --porcelain --untracked-files=no | wc -l) | ||
if [ $$changed_files -gt 0 ]; then | ||
echo 'contract changed, please rebuild contract' | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.