Rahul Kothari
Rahul Kothari
Currently, a Web3Modal requires a `network` parameter, however, this is a string: ``` new Web3Modal({ network: "mainnet" //string and not chainID, ... }) ``` This is passed to the `ProviderController`...
### Bug Inconsistency if I am mocking 3+ oracles at once. E.g. [this doesn't work](https://github.com/AztecProtocol/aztec-packages/blob/4b973309cceb4da49f9364ceff4afa2532b01b6e/yarn-project/noir-contracts/contracts/unit_test/src/main.nr#L209-L212) If I comment out the last Oracle Mocker (`enqueuePublicFunctionCall`, then the test works (just mocks...
If you go to https://checkout.web3modal.com/, currently it shows this: ![image](https://user-images.githubusercontent.com/35169918/138895931-42728019-d9ea-4119-9ef6-641aa9310b07.png) For better UX, it would be better to create a form on the homepage. This way the website could be...
We have a tutorial on how to write a token bridge aztec-nr contract But we need an e2e tutorial that shows the solidity token portal, the typescript glue code, the...
``` struct SecretAndHash { secret: Field, hash: Field, } impl SecretAndHash { fn random() -> Self { let secret = unsafe_rand(); let hash = compute_secret_hash(secret); SecretAndHash { secret, hash }...
Consider methods like: ``` pub fn check_public_balance(token_contract_address: AztecAddress, user: AztecAddress, expected_amount: Field) { let current_contract_address = get_contract_address(); cheatcodes::set_contract_address(token_contract_address); let block_number = get_block_number(); let slot = Token::storage().bets.slot; let address_slot = derive_storage_slot_in_map(slot,...