Hi! At the time of the contract deploy on latest toolchain
forc deploy --node-url http://beta-3.fuel.network/graphql --gas-price 1
I get this error
Error: Response errors; Unknown field "messageReceiptCount" on type "Header".;
Unknown field "messageReceiptRoot" on type "Header".;
Unknown field "chainId" on type "ConsensusParameters".
``
Can you tell me how to fix it?
My contract link
contract;
use std::constants::ZERO_B256;
use std::storage::storage_vec::*;
use std::call_frames::msg_asset_id; // get attached asset id func
use std::context::msg_amount; // get attached asset amount func
use std::token::transfer_to_address;
use std::block::timestamp;
use std::logging::log;
use nft::{mint, transfer, owner_of, tokens_minted};
use nft::extensions::token_metadata::*;
abi NFTTicketingContract {
#[storage(read, write), payable]
fn create_event(name: str[50], /*description: str[1000], image: str[500],*/ max_participantes: u64, deadline: u64, ticket_price: u64) -> u64;
#[storage(read, write), payable]
fn buy_ticket(event_id: u64) -> u64;
#[storage(read, write)]
This file has been truncated. show original
1 Like
hi there! @PaulZhemanov
Please attach the output of
$ fuelup show
So we can know the version of the toolchain you are working with.
Thanks
Default host: aarch64-apple-darwin
fuelup home: /Users/master/.fuelup
installed toolchains
--------------------
beta-3-aarch64-apple-darwin
latest-aarch64-apple-darwin (default)
latest-2023-01-18-aarch64-apple-darwin
new-creation
active toolchain
-----------------
latest-aarch64-apple-darwin (default)
forc : 0.42.1
- forc-client
- forc-deploy : 0.42.1
- forc-run : 0.42.1
- forc-doc : 0.42.1
- forc-explore : 0.28.1
- forc-fmt : 0.42.1
- forc-index : 0.18.5
- forc-lsp : 0.42.1
- forc-tx : 0.42.1
- forc-wallet : 0.2.4
fuel-core : 0.18.3
fuel-indexer : 0.18.5
fuels versions
---------------
forc : 0.43
forc-wallet : 0.44.0
So the issue is that you are using latest toolchain on beta-3 infra.
Please run
fuelup toolchain install beta-3
and then
fuelup default beta-3
Let me know if it works!
1 Like