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

FE Release 3-21 #2341

Merged
merged 30 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ae35454
Removes unused images (#2327)
abtestingalpha Mar 20, 2024
1fd2528
Publish
abtestingalpha Mar 20, 2024
b9b84a2
feat(synapse-interface): improve maintenance event template, remove M…
bigboydiamonds Mar 21, 2024
ff5a135
Publish
aureliusbtc Mar 21, 2024
3312b99
add fe-release to coderabbit (#2330)
trajan0x Mar 21, 2024
2b8a743
fix golangci-lint (#2334)
trajan0x Mar 21, 2024
d652041
test(sdk-router): skip RFQ tests for tracking older txs (#2333)
ChiTimesChi Mar 21, 2024
e8f1a8d
Publish
ChiTimesChi Mar 21, 2024
579da27
remove package-docs (#2336)
trajan0x Mar 21, 2024
e56d316
instruct coderabbit not to rc (#2337)
trajan0x Mar 21, 2024
18594bb
resolve #754 (#2338)
trajan0x Mar 21, 2024
383ee4e
Publish
trajan0x Mar 21, 2024
1eb8000
update bl (#2340)
aureliusbtc Mar 21, 2024
8f6a1b5
Publish
aureliusbtc Mar 21, 2024
d09c032
new addresses (#2343)
trajan0x Mar 21, 2024
8f2966e
fix(contracts-core) cleanup packages (#2342)
trajan0x Mar 21, 2024
7bfb6a1
Publish
trajan0x Mar 21, 2024
fd770ad
Upgrades to wagmi to 1.3.5 (#2339)
abtestingalpha Mar 21, 2024
018c0d9
Publish
abtestingalpha Mar 21, 2024
748a433
CCTP relayer handles native CCTP transactions (#2227)
dwasse Mar 21, 2024
ddabd69
Adds ETH to RFQ (#2351)
abtestingalpha Mar 22, 2024
198dc48
Publish
abtestingalpha Mar 22, 2024
8c9f382
fix(widget): Fixes decimal input with no leading zeros, wallet cancel…
abtestingalpha Mar 22, 2024
1e0c559
Publish
abtestingalpha Mar 22, 2024
b1df384
fix go workflow (#2358)
trajan0x Mar 24, 2024
fe868cc
feat(synapse-interface): link destination address in transaction (#2353)
bigboydiamonds Mar 25, 2024
0e6d76c
Publish
bigboydiamonds Mar 25, 2024
8a82589
Banner for pausing USDB/WETH on Blast (#2361)
abtestingalpha Mar 26, 2024
b0836c9
Publish
abtestingalpha Mar 26, 2024
970d5a9
Merge branch 'fe-release' into master
abtestingalpha Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ reviews:
- 'DO NOT MERGE'
drafts: true

base_branches:
# useful for large features, e.g. https://github.com/synapsecns/sanguine/pull/2234
- 'feat/.*'
# the og
- 'master'
# fe-release branch. We're more looking for summaries here
- 'fe-release'

path_filters:
- '!**abigen.go'
- '!**metadata.go'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
# see: https://github.com/golangci/golangci-lint/issues/3420, moving to go 1.20 requires a new golangci-lint version
# TODO: with this being 3 behind this should be done sooner rather than later.
go-version: 1.19.x
go-version: 1.21.x

- uses: actions/checkout@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,20 @@ jobs:
with:
pattern: '.github/renovate.json' # Regular expression for filename to validate, default to *.json


- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
id: yaml-lint
with:
config_file: .yamllint.yml

- uses: actions/upload-artifact@v4
if: steps.yaml-lint.outcome == 'success'
with:
name: yamllint-logfile
path: ${{ steps.yaml-lint.outputs.logfile }}


Copy link
Contributor

Choose a reason for hiding this comment

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

The TODO comment to reinstate lint is a good reminder for future improvements. Ensure this task is tracked appropriately.

Would you like me to open a GitHub issue to track the reinstatement of lint checks?

# TODO: reinstate lint
# - name: Download actionlint
# id: get_actionlint
Expand Down
7 changes: 6 additions & 1 deletion contrib/promexporter/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,15 @@ func DecodeConfig(filePath string) (_ Config, err error) {
ChainIDs: types.ToInts(types.ETH, types.ARBITRUM, types.AVALANCHE, types.OPTIMISM),
},
{
Address: "0xb300eff6b57aa09e5fccf7221fcb9e676a74d931",
Address: "0xdd50676f81f607fd8ba7ed3187ddf172db174cd3",
Name: "rfq",
ChainIDs: types.ToInts(types.OPTIMISM, types.ARBITRUM, types.ETH),
},
{
Address: "0xdc927bd56cf9dfc2e3779c7e3d6d28da1c219969",
Name: "rfq2",
ChainIDs: types.ToInts(types.OPTIMISM, types.ARBITRUM, types.ETH),
},
}

cfg.BridgeChecks = map[int]string{
Expand Down
1 change: 0 additions & 1 deletion package-docs/.nojekyll

This file was deleted.

70 changes: 0 additions & 70 deletions package-docs/README.md

This file was deleted.

105 changes: 0 additions & 105 deletions package-docs/classes/SynapseSDK.md

This file was deleted.

9 changes: 0 additions & 9 deletions package-docs/modules.md

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
"clean": "yarn lerna run clean --parallel",
"test:coverage": "yarn cover-all && yarn collect && nyc report --reporter lcov --report-dir=lcov",
"cover-all": "yarn lerna exec npm run test:coverage --parallel",
"collect": "rm -rf .nyc_output && mkdir -p .nyc_output && aggregate-coverage collectFiles --pattern='packages/**/!(node_modules)/**/coverage-final.json' --target='.nyc_output'",
"generate:docs": "typedoc --plugin typedoc-plugin-markdown --out package-docs"
"collect": "rm -rf .nyc_output && mkdir -p .nyc_output && aggregate-coverage collectFiles --pattern='packages/**/!(node_modules)/**/coverage-final.json' --target='.nyc_output'"
},
"devDependencies": {
"@babel/eslint-parser": "^7.18.2",
Expand Down
5 changes: 0 additions & 5 deletions packages/contracts-core/.prettierignore

This file was deleted.

3 changes: 0 additions & 3 deletions packages/contracts-core/.prettierrc.js

This file was deleted.

16 changes: 16 additions & 0 deletions packages/contracts-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.29](https://github.com/synapsecns/sanguine/compare/@synapsecns/contracts-core@1.0.28...@synapsecns/contracts-core@1.0.29) (2024-03-21)

**Note:** Version bump only for package @synapsecns/contracts-core





## [1.0.28](https://github.com/synapsecns/sanguine/compare/@synapsecns/contracts-core@1.0.27...@synapsecns/contracts-core@1.0.28) (2024-03-21)

**Note:** Version bump only for package @synapsecns/contracts-core





## [1.0.27](https://github.com/synapsecns/sanguine/compare/@synapsecns/contracts-core@1.0.26...@synapsecns/contracts-core@1.0.27) (2023-12-06)

**Note:** Version bump only for package @synapsecns/contracts-core
Expand Down
7 changes: 1 addition & 6 deletions packages/contracts-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synapsecns/contracts-core",
"version": "1.0.27",
"version": "1.0.29",
"description": "",
"scripts": {
"build": "yarn build:contracts && yarn build:typescript && yarn build:go",
Expand All @@ -27,11 +27,8 @@
"devDependencies": {
"@typechain/ethers-v5": "10.0.0",
"hardhat": "2.9.7",
"prettier": "2.7.1",
"prettier-plugin-solidity": "1.0.0-dev.23",
"rimraf": "3.0.2",
"solhint": "3.3.8",
"solhint-plugin-prettier": "0.0.5",
"typechain": "8.0.0",
"typescript": "4.7.3"
},
Expand All @@ -44,8 +41,6 @@
"@openzeppelin/contracts": "4.9.3",
"@openzeppelin/contracts-upgradeable": "4.9.3",
"dotenv": "16.0.1",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "3.4.1",
"solidity-coverage": "0.7.21",
"ts-node": "10.8.1"
}
Expand Down
8 changes: 8 additions & 0 deletions packages/rest-api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.57](https://github.com/synapsecns/sanguine/compare/@synapsecns/rest-api@1.0.56...@synapsecns/rest-api@1.0.57) (2024-03-21)

**Note:** Version bump only for package @synapsecns/rest-api





## [1.0.56](https://github.com/synapsecns/sanguine/compare/@synapsecns/rest-api@1.0.55...@synapsecns/rest-api@1.0.56) (2024-03-04)

**Note:** Version bump only for package @synapsecns/rest-api
Expand Down
4 changes: 2 additions & 2 deletions packages/rest-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@synapsecns/rest-api",
"version": "1.0.56",
"version": "1.0.57",
"private": "true",
"engines": {
"node": ">=16.0.0"
Expand All @@ -23,7 +23,7 @@
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@ethersproject/units": "5.7.0",
"@synapsecns/sdk-router": "^0.3.28",
"@synapsecns/sdk-router": "^0.3.29",
"bignumber": "^1.1.0",
"ethers": "5.7.2",
"express": "^4.18.2",
Expand Down
8 changes: 8 additions & 0 deletions packages/sdk-router/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.29](https://github.com/synapsecns/sanguine/compare/@synapsecns/sdk-router@0.3.28...@synapsecns/sdk-router@0.3.29) (2024-03-21)

**Note:** Version bump only for package @synapsecns/sdk-router





## [0.3.28](https://github.com/synapsecns/sanguine/compare/@synapsecns/sdk-router@0.3.27...@synapsecns/sdk-router@0.3.28) (2024-03-04)

**Note:** Version bump only for package @synapsecns/sdk-router
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-router/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@synapsecns/sdk-router",
"description": "An SDK for interacting with the Synapse Protocol",
"version": "0.3.28",
"version": "0.3.29",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions packages/sdk-router/src/rfq/fastBridgeRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export class FastBridgeRouter implements SynapseModule {
* @inheritdoc SynapseModule.getSynapseTxId
*/
public async getSynapseTxId(txHash: string): Promise<string> {
// TODO: this should support older instances of FastBridge to track legacy txs
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment regarding supporting older instances of FastBridge for tracking legacy transactions is clear and appropriately placed. Consider creating a tracking issue for this TODO item to ensure it's addressed in future updates.

Would you like me to open a GitHub issue to track this task?

const fastBridgeContract = await this.getFastBridgeContract()
const fastBridgeLog = await getMatchingTxLog(
this.provider,
Expand All @@ -114,6 +115,7 @@ export class FastBridgeRouter implements SynapseModule {
* @inheritdoc SynapseModule.getBridgeTxStatus
*/
public async getBridgeTxStatus(synapseTxId: string): Promise<boolean> {
// TODO: this should support older instances of FastBridge to track legacy txs
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment about supporting older instances of FastBridge for tracking legacy transactions is consistent and clear. Consider creating a tracking issue for this TODO item to ensure it's addressed in future updates.

Would you like me to open a GitHub issue to track this task?

const fastBridgeContract = await this.getFastBridgeContract()
return fastBridgeContract.bridgeRelays(synapseTxId)
}
Expand Down
Loading