-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fix/new-rfq' of https://github.com/synapsecns/sanguine …
…into fix/new-rfq
- Loading branch information
Showing
16 changed files
with
107 additions
and
28 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 |
---|---|---|
|
@@ -93,26 +93,23 @@ jobs: | |
run: | | ||
forge doc | ||
cp vercel.package.json docs/package.json | ||
- name: Setup upterm session | ||
uses: lhotari/action-upterm@v1 | ||
env: | ||
VERCEL_PROJECT_ID: ${{ steps.project_id.outputs.VERCEL_PROJECT_ID}} | ||
- name: Deploy (Prod) | ||
if: ${{ format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }} | ||
working-directory: "packages/${{matrix.package}}/docs" | ||
run: | | ||
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} | ||
vercel build --token=${{ secrets.VERCEL_TOKEN }} --prod | ||
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} --prod | ||
env: | ||
VERCEL_PROJECT_ID: ${{ steps.project_id.outputs.VERCEL_PROJECT_ID}} | ||
- name: Deploy | ||
working-directory: "packages/${{matrix.package}}/docs" | ||
run: | | ||
pwd | ||
vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} | ||
echo "1" | ||
vercel build --token=${{ secrets.VERCEL_TOKEN }} | ||
echo "2" | ||
vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} | ||
echo "3" | ||
env: | ||
VERCEL_PROJECT_ID: ${{ steps.project_id.outputs.VERCEL_PROJECT_ID}} | ||
|
||
|
@@ -211,14 +208,14 @@ jobs: | |
version: nightly | ||
|
||
- name: Run Foundry Tests | ||
working-directory: "/packages/${{matrix.package}}" | ||
working-directory: "./packages/${{matrix.package}}" | ||
run: forge coverage -vvv --report lcov --report summary >> $GITHUB_STEP_SUMMARY | ||
|
||
- name: Send Coverage (Codecov) | ||
uses: Wandalen/[email protected] | ||
with: | ||
action: codecov/codecov-action@v3 | ||
current_path: "/packages/${{matrix.package}}" | ||
current_path: "./packages/${{matrix.package}}" | ||
with: | | ||
token: ${{ secrets.CODECOV }} | ||
fail_ci_if_error: true # optional (default = false) | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package fastbridge | ||
|
||
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-rfq/flattened/FastBridge.sol --pkg fastbridge --sol-version 0.8.20 --filename fastbridge | ||
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-rfq/flattened/FastBridge.sol --pkg fastbridge --sol-version 0.8.20 --filename fastbridge --evm-version istanbul |
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,2 @@ | ||
// Package relayer contains the rfq relayer | ||
package relayer |
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,4 @@ | ||
package inventory | ||
|
||
type balanceManager struct { | ||
} |
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,2 @@ | ||
// Package inventory contains the inventory manager | ||
package inventory |
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,20 @@ | ||
package inventory | ||
|
||
import ( | ||
"context" | ||
"github.com/ethereum/go-ethereum/common" | ||
) | ||
|
||
type InventoryManager interface{} | ||
|
||
type inventoryManagerImpl struct { | ||
tokens map[int][]common.Address | ||
} | ||
|
||
// NewInventoryManager creates a list of tokens we should use. | ||
func NewInventoryManager(ctx context.Context, tokens map[int][]common.Address) { | ||
|
||
} | ||
|
||
// Ultimately this should produce a list of all balances and remove the | ||
// quoted amounts from the database |
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
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