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

change commitment message recent to processed #1128

Merged
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -19,6 +19,7 @@ incremented for features.
* cli: Add version number from programs `Cargo.toml` into extracted IDL ([#1061](https://github.com/project-serum/anchor/pull/1061)).
* lang: Add `deprecated` attribute to `Loader`([#1078](https://github.com/project-serum/anchor/pull/1078)).
* lang: the `init_if_needed` attribute now checks that given attributes (e.g. space, owner, token::authority etc.) are validated even when init is not needed ([#1096](https://github.com/project-serum/anchor/pull/1096)).
* lang: Change commitment message recent to processed ([#1128](https://github.com/project-serum/anchor/pull/1128))
Necmttn marked this conversation as resolved.
Show resolved Hide resolved

### Features

Expand Down
2 changes: 1 addition & 1 deletion tests/cfo/tests/utils/index.js
Expand Up @@ -386,7 +386,7 @@ async function signTransactions({
wallet,
connection,
}) {
const blockhash = (await connection.getRecentBlockhash("max")).blockhash;
const blockhash = (await connection.getRecentBlockhash("processed")).blockhash;
transactionsAndSigners.forEach(({ transaction, signers = [] }) => {
transaction.recentBlockhash = blockhash;
transaction.setSigners(
Expand Down
2 changes: 1 addition & 1 deletion tests/swap/tests/utils/index.js
Expand Up @@ -457,7 +457,7 @@ async function signTransactions({
wallet,
connection,
}) {
const blockhash = (await connection.getRecentBlockhash("max")).blockhash;
const blockhash = (await connection.getRecentBlockhash("processed")).blockhash;
Necmttn marked this conversation as resolved.
Show resolved Hide resolved
transactionsAndSigners.forEach(({ transaction, signers = [] }) => {
transaction.recentBlockhash = blockhash;
transaction.setSigners(
Expand Down