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

[bridge 62/n] make bridge_client_gas_object optional, add tests for starting bridge node #16771

Merged
merged 3 commits into from
Mar 28, 2024

Conversation

longbowlu
Copy link
Contributor

@longbowlu longbowlu commented Mar 20, 2024

Description

This PR does two things:

  1. make bridge_client_gas_object in BridgeConfig optional. If no gas object is provided, then we look for any gas object owned by the client address.
  2. add tests for starting bridge node.
  3. move key generation helper functions to crates/sui-bridge/src/utils.rs

Test Plan

How did you test the new or updated feature?


If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.

Type of Change (Check all that apply)

  • protocol change
  • user-visible impact
  • breaking change for a client SDKs
  • breaking change for FNs (FN binary must upgrade)
  • breaking change for validators or node operators (must upgrade binaries)
  • breaking change for on-chain data layout
  • necessitate either a data wipe or data migration

Release notes

Copy link

vercel bot commented Mar 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am
multisig-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am
mysten-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am
sui-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am
sui-kiosk ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am
sui-typescript-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 9:24am

@longbowlu longbowlu changed the title stash [bridge 62/n] WIP Mar 20, 2024
@longbowlu longbowlu changed the title [bridge 62/n] WIP [bridge 62/n] make bridge_client_gas_object optional, add tests for starting bridge node Mar 22, 2024
@longbowlu longbowlu marked this pull request as ready for review March 22, 2024 00:07
@longbowlu longbowlu merged commit cb63e86 into feature/native-bridge Mar 28, 2024
45 checks passed
@longbowlu longbowlu deleted the fb-bridge-62 branch March 28, 2024 16:59
patrickkuo pushed a commit that referenced this pull request May 2, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
patrickkuo pushed a commit that referenced this pull request May 8, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
patrickkuo pushed a commit that referenced this pull request May 9, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
patrickkuo pushed a commit that referenced this pull request May 9, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
patrickkuo pushed a commit that referenced this pull request May 9, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
patrickkuo pushed a commit that referenced this pull request May 9, 2024
… starting bridge node (#16771)

## Description 

This PR does two things:
1. make `bridge_client_gas_object` in BridgeConfig optional. If no gas
object is provided, then we look for any gas object owned by the client
address.
2. add tests for starting bridge node.
3. move key generation helper functions to
`crates/sui-bridge/src/utils.rs`

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and do not break anything, you can
skip the following section. Otherwise, please briefly describe what has
changed under the Release Notes section.

### Type of Change (Check all that apply)

- [ ] protocol change
- [ ] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant