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

Update to remove ScSpecTypeSet #884

Merged
merged 12 commits into from
Aug 29, 2023
Merged

Update to remove ScSpecTypeSet #884

merged 12 commits into from
Aug 29, 2023

Conversation

2opremio
Copy link
Contributor

@2opremio 2opremio commented Aug 22, 2023

Second attempt at #857 , which was reverted due to breaking CI

Parent issue : #872

@paulbellamy
Copy link
Contributor

paulbellamy commented Aug 23, 2023

You probably want to avoid merging this though until the new core build is in, otherwise the CI will break again. Right?

cmd/soroban-rpc/lib/preflight/src/fees.rs Outdated Show resolved Hide resolved
@@ -54,7 +50,8 @@ pub(crate) fn compute_host_function_transaction_data_and_min_fee(
&soroban_resources.footprint,
)
.context("cannot estimate maximum transaction size")?,
contract_events_size_bytes: soroban_resources.contract_events_size_bytes,
contract_events_size_bytes: calculate_event_size_bytes(events)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not related to the current failures, but you should calculate the size of the contract events only, not all the diagnostic events (i.e. you need to filter based on the event type in that function).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good to know.

@2opremio
Copy link
Contributor Author

2opremio commented Aug 29, 2023

OK, the soroban-rpc integration tests finally work but I can't merge this until stellar/rs-stellar-xdr#291 (comment) is resolved (which is causing the other CI issues)

@2opremio 2opremio merged commit 61fea0d into main Aug 29, 2023
20 of 21 checks passed
@2opremio 2opremio deleted the remove-set-from-spec branch August 29, 2023 21:27
@2opremio
Copy link
Contributor Author

@sreuland note that this PR caused an update in the XDR, making the javascript client temporarily incompatible and impacting your system test fixes.

@sreuland
Copy link
Contributor

@sreuland note that this PR caused an update in the XDR, making the javascript client temporarily incompatible and impacting your system test fixes.

thanks, will merge main into #855 and continue to see how far e2e gets on latest, have been working through cli/rpc/preflight interop.

do you think this is the last xdr updates, this looks great, as it has updated ver refs of everything in here, go, rs-sdk, rs-env, and core build.

@2opremio
Copy link
Contributor Author

Unfortunately there will be more XDR changes (the state expiration ones)

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

Successfully merging this pull request may close these issues.

6 participants