-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2400 from synapsecns/master
FE release 2024-03-29
- Loading branch information
Showing
120 changed files
with
12,821 additions
and
3,229 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
# This script flattens Solidity contracts and saves them in ./flattened | ||
# The existing content of ./flattened is removed | ||
# This tool takes both globs and filenames as the list of arguments and flattens everything | ||
# Usage: ./script/sh/flatten.sh contracts/**.sol contracts/client/TestClient.sol <...> | ||
|
||
RED='\033[0;31m' | ||
GREEN='\033[0;32m' | ||
NC='\033[0m' # No Color | ||
|
||
# Check if arguments were supplied | ||
if [ $# -eq 0 ]; then | ||
echo -e "${RED}Error: provide globs/filenames of the contracts to flatten!${NC}" | ||
exit 1 | ||
fi | ||
|
||
# First, we remove the existing flattened files | ||
rm -rf ./flattened | ||
|
||
# Track the amount of flattened files for the final report | ||
count=0 | ||
# Then, we iterate over the supplied arguments | ||
# If any argument was a glob, this will iterate over the files it specifies | ||
for var in "$@"; do | ||
# Strip contract name "Abc.sol" from the path | ||
fn=$(basename "$var") | ||
# Flatten the file and save it in ./flattened | ||
# Make sure that flattened contracts base names are unique! | ||
forge flatten "$var" -o "./flattened/$fn" | ||
((++count)) | ||
done | ||
|
||
echo -e "${GREEN}Files flattened: $count${NC}" |
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,47 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
|
||
## [1.0.5](https://github.com/synapsecns/sanguine/compare/contracts-communication@1.0.4...contracts-communication@1.0.5) (2024-03-29) | ||
|
||
**Note:** Version bump only for package contracts-communication | ||
|
||
|
||
|
||
|
||
|
||
## [1.0.4](https://github.com/synapsecns/sanguine/compare/contracts-communication@1.0.3...contracts-communication@1.0.4) (2024-03-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **contracts-communication:** cleanup scripts ([#2394](https://github.com/synapsecns/sanguine/issues/2394)) ([3e1cf27](https://github.com/synapsecns/sanguine/commit/3e1cf27824e4dc9c1ec91a6e560da393a1ccbdbd)) | ||
|
||
|
||
|
||
|
||
|
||
## [1.0.3](https://github.com/synapsecns/sanguine/compare/contracts-communication@1.0.2...contracts-communication@1.0.3) (2024-03-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* **contracts-communication:** deploy proxy script ([#2392](https://github.com/synapsecns/sanguine/issues/2392)) ([46b38a6](https://github.com/synapsecns/sanguine/commit/46b38a624a4e753ccc1d8d5a217d4139c2d5ca5f)) | ||
* **contracts-communication:** improve `client.getInterchainFee()` ([#2387](https://github.com/synapsecns/sanguine/issues/2387)) ([a01d39d](https://github.com/synapsecns/sanguine/commit/a01d39d8311857376d64c9eb866546fa5701ec29)) | ||
|
||
|
||
|
||
|
||
|
||
## [1.0.2](https://github.com/synapsecns/sanguine/compare/contracts-communication@1.0.1...contracts-communication@1.0.2) (2024-03-28) | ||
|
||
**Note:** Version bump only for package contracts-communication | ||
|
||
|
||
|
||
|
||
|
||
## 1.0.1 (2024-03-28) | ||
|
||
**Note:** Version bump only for package contracts-communication |
File renamed without changes.
Oops, something went wrong.