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

[Epic] Separating soroban-rpc to prepare for repo change #1174

Merged
merged 12 commits into from
Feb 6, 2024

Conversation

willemneal
Copy link
Member

@willemneal willemneal commented Jan 19, 2024

What

  • feat: move ContractSpec to spec tools crate
  • feat: add methods to GetTransaction and break up submitting a transaction
  • feat: create soroban-rpc crate
  • Use testcontainers to test CLI instead of through go. In follow up PR

Why

[TODO: Why this change is being made. Include any context required to understand the why.]

Known limitations

[TODO or N/A]

@willemneal willemneal added enhancement New feature or request cli Related to Soroban CLI labels Jan 19, 2024
@willemneal willemneal force-pushed the feat/sperate_rpc branch 3 times, most recently from ebc1aa3 to 78a019a Compare January 25, 2024 18:03
@willemneal willemneal force-pushed the feat/sperate_rpc branch 2 times, most recently from 070c80f to d1e5709 Compare January 27, 2024 21:23
@willemneal
Copy link
Member Author

Currently the rust is failing when building windows because the rust version is 1.70.0, but soroban-sdk requires 1.74.0.

e2e tests are still failing because of the changes introduced by this PR. Currently it relies on the fact that previously all invokes where signed and submitted, regardless if they had auth and had no writes. I added a flag with an env var to get around this. I had hoped that SYSTEM_TEST_VERBOSE_OUTPUT would be true for the invoke call.

I added to the RPC tests to test the same case that is failing for e2e tests and those are passing. Should I make a branch of the e2e?

Or should I make signed the default so that this isn't a breaking change?

@willemneal willemneal force-pushed the feat/sperate_rpc branch 2 times, most recently from 4ef52d0 to 78888b2 Compare January 31, 2024 16:04
@willemneal willemneal marked this pull request as ready for review February 1, 2024 16:21
@willemneal willemneal force-pushed the feat/sperate_rpc branch 2 times, most recently from 908ffa8 to 25774c4 Compare February 1, 2024 19:14
@willemneal willemneal enabled auto-merge (squash) February 2, 2024 20:56
Copy link
Contributor

@stellarsaur stellarsaur left a comment

Choose a reason for hiding this comment

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

A few very minor comments, but LGTM. Thanks for the PR!

cmd/crates/soroban-rpc/Cargo.toml Show resolved Hide resolved
cmd/crates/soroban-rpc/Cargo.toml Outdated Show resolved Hide resolved
cmd/crates/soroban-rpc/README.md Show resolved Hide resolved
cmd/crates/soroban-rpc/src/lib.rs Outdated Show resolved Hide resolved
cmd/crates/soroban-rpc/src/lib.rs Show resolved Hide resolved
@willemneal willemneal force-pushed the feat/sperate_rpc branch 2 times, most recently from 833d482 to 74e962e Compare February 6, 2024 17:27
@willemneal willemneal merged commit 2581f62 into stellar:main Feb 6, 2024
25 checks passed
@2opremio
Copy link
Contributor

2opremio commented Feb 6, 2024

I am going to (temporarilly) revert this PR since it's breaking the release 20.3.0 ( #1190 ) and it's urgent. We can reapply it later

We should also come up with a better release process (resilient towards interim changes to main)

2opremio added a commit that referenced this pull request Feb 6, 2024
2opremio added a commit that referenced this pull request Feb 6, 2024
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
* feat: move ContractSpec to spec tools crate

* feat: add methods to GetTransaction and break up sending transaction

* feat: make persistent the default storage type

* feat: create soroban-rpc crate (#21)

* feat: create soroban-rpc crate

* fix: add event test

* fix: switch to --is-view so e2e tests will pass and no breaking changes
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
* feat: move ContractSpec to spec tools crate

* feat: add methods to GetTransaction and break up sending transaction

* feat: make persistent the default storage type

* feat: create soroban-rpc crate (#21)

* feat: create soroban-rpc crate

* fix: add event test

* fix: switch to --is-view so e2e tests will pass and no breaking changes
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
[Epic] Separating soroban-rpc to prepare for repo change (#1174)

* feat: move ContractSpec to spec tools crate

* feat: add methods to GetTransaction and break up sending transaction

* feat: make persistent the default storage type

* feat: create soroban-rpc crate (#21)

* feat: create soroban-rpc crate

* fix: add event test

* fix: switch to --is-view so e2e tests will pass and no breaking changes
psheth9 pushed a commit that referenced this pull request Feb 7, 2024
Revert "[Epic] Separating soroban-rpc to prepare for repo change (#1174)" (#1193)

This reverts commit 2581f62.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to Soroban CLI enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants