# Aurora Update [2021-05-28] The recording is available at: https://www.youtube.com/watch?v=IkcNjk_EKT0&list=PL9tzQn_TEuFV2O7twBM-41lCDq5nr8nLm ## Summary - NEAR transfers to Ethereum: - https://aurora.dev/blog/near-on-ethereum - https://twitter.com/auroraisnear/status/1398264888355610625 - ETH connector to be deployed to TestNet today (without NEAR->Ropsten transfers) - New tutorials: MetaMask, Remix, and Truffle - https://doc.aurora.dev/develop/start/metamask - https://doc.aurora.dev/develop/start/truffle ## Agenda - Status & current goal - This week - Discussion - eNEAR launch - ETH connector deployment - Math API additions - Next week ## Status & current goal ## Last week https://hackmd.io/@avshevchenko/rJUHr0NFu ## This week ### Ahmed Ali - Troubleshooting with Arto - Running RPC relayer locally and fixing this config files https://github.com/aurora-is-near/aurora-relayer/pull/14 - Fixing the `eth_call` issue https://github.com/aurora-is-near/aurora-relayer/commit/1d0d7cd7f00da1f0d118e8a79cfc70362ed773f2 - Troubleshooting Remix + MetaMask issue - Truffle PR https://github.com/aurora-is-near/doc.aurora.dev/pull/12 - HardHat PR [WIP] ### Alex Shevchenko - Investor round - eNEAR launch management - Bridge support - Hiring of Senior engineer, Aurora position ### Arto Bendiken - Supported partners and early adopters, troubleshooting and fixing a number of issues. - Reviewed and improved documentation additions. - https://github.com/aurora-is-near/doc.aurora.dev - Lots of work on the Aurora Relayer: - Improved and documented the Docker set up and supported Ahmed's testing. - Now a turn-key solution: just pull the container and run it. - https://github.com/aurora-is-near/aurora-relayer - Lots of work on infrastructure: - Upgraded all existing relayer deployments to use the Docker image. - Stood up a standalone proxy server for the legacy endpoints. - Installed and prepped new servers for the roll-out of edge endpoints. - Surveyed and evaluated open-source block explorers: - There are BlockScout, Ethereum Lite Explorer, EthVM, Expedition, and then a long tail of more problematic projects. - BlockScout is clearly the best in class, but also the operationally most complex. ### Evgeny Kapun - More work on host functions (Math API) ### Evgeny Ukhanov Currently eth-connector ready for the Release. Covered maximum test cases and fix security issues that were found. * Merged functionality related to Statistics * Merged eth-connector enhancements after review. * Extended integrations tests with additional Proofs for all possible cases. * Fixed test bugs and extended for broad test coverage. * PR reviews PR's: * https://github.com/aurora-is-near/aurora-engine/pull/98 * https://github.com/aurora-is-near/aurora-engine/pull/104 * https://github.com/aurora-is-near/aurora-engine/pull/106 * https://github.com/aurora-is-near/aurora-engine/pull/59 ### Frank Braun - `near-api-go` extended with `CreateAccount()`, `near create-account` funtionality reimplemented in Go => removed `near-cli` dependency completely - `evm-bully replay -setup` sets up clean `nearcore` state for replay, starts `neard`, creates account, deploys contract. - If "breakpoint" is set, all necessary state for reproducability is saved in tar file (HEAD of nearcore and aurora-engine, local nearcore state, account key, failing tx) - new `evm-bully replay-tx` command takes breakpoint state and reproduces an error: - with `-build` checks out and builds correct `nearcore` and `aurora-engine` version. - automatically starts `neard` - replays failing tx (doesn't need `geth` or Ethereum blockchain) - contract code can be overwritten to debug engine (reproduce problem -> change contract until fixed). ### Joshua J. Bouw - Spent a considerable amount of time getting gas costs of the new Math API methods. Had calls and worked collaberative with Michael. - Work handed off to capable team familiar with it. - Added estimated gas values to Math API. [nearcore#9d84a33](https://github.com/near/nearcore/pull/3954/commits/9d84a334bd10c04d78253d26490d7b65e3a9f401) - Added tests to MathAPI [nearcore#4a1c26e](https://github.com/near/nearcore/pull/3954/commits/4a1c26e1996eaac58bbb7e0ec4ac4f2946a5c4e7), [nearcore#bcc7dd2](https://github.com/near/nearcore/pull/3954/commits/bcc7dd2538030b2fd94d9e1a633d383ec888c1f5) - Reviewed [aurora-engine#104](https://github.com/aurora-is-near/aurora-engine/pull/104) - Reviewed [aurora-engine#103](https://github.com/aurora-is-near/aurora-engine/pull/103) ### Kirill Abramov - PRs: - Created [rainbow-bridge#589](https://github.com/aurora-is-near/rainbow-bridge/pull/589) - Created [eth-connector#20](https://github.com/aurora-is-near/eth-connector/pull/20) - Created [aurora-engine#108](https://github.com/aurora-is-near/aurora-engine/pull/108) - Created [aurora-engine#109](https://github.com/aurora-is-near/aurora-engine/pull/109) - Committed to [aurora-engine#88](https://github.com/aurora-is-near/aurora-engine/pull/88) - Reviewed [aurora-engine#59](https://github.com/aurora-is-near/aurora-engine/pull/59) - Reviewed [aurora-engine#104](https://github.com/aurora-is-near/aurora-engine/pull/104) - Reviewed [aurora-engine#106](https://github.com/aurora-is-near/aurora-engine/pull/106) - Reviewed [aurora-engine#107](https://github.com/aurora-is-near/aurora-engine/pull/107/files) - Fixed the Hardhat error happening for `rainbow-bridge`. - Spent some time on investigation for `EthOnNearClient` issue. - Updated the `EthCustodian` to use Solidity 0.8 and the latest `rainbow-bridge` dependencies (required some patching). - Modified `EthCustodian` to generate any proofs needed for the integration tests in `aurora-engine` and to be able to cover all test cases there. - Worked on the implementation of Hardhat tests for the connectors’ precompiles. - Worked on the implementation of integration-tests to verify promise deferring for precompiles. - Added more Hardhat examples & minor fixes to existing. - Merged aurora-engine's `develop` branch into `eth-connector`and resolve merge conflicts. - Many syncs during the week with members of the team. ### Marcelo Fornet - Hiring - Reviewing PR in Aurora - Fixing Testnet bridge ### Matt Henderson - eNEAR testing and iterating with Pierre - Coordinating the eNEAR launch - Liquidity - Partnerships (amms, lending protocol) - Marketing - Bridge Update ### Michael Birch - Tried to provide help to Joshua on the Math API PR (burned lots of cycles on `runtime-params-estimator`) - https://github.com/near/nearcore/pull/3954/commits/ee2d0f69bd10fb5e67af5856874368b2aa8a5808 - https://github.com/near/nearcore/pull/3954/commits/55dda77377b3cafb19e5dfb60f882714c81d49d2 - https://github.com/near/nearcore/pull/3954/commits/77f1b2a687e1ce472ea240f068d452329421174e - Documentation on how to use MetaMask with Aurora - https://doc.aurora.dev/develop/start/metamask - https://github.com/aurora-is-near/doc.aurora.dev/pull/11 - Precompile dispatch matches on full address - https://github.com/aurora-is-near/aurora-engine/pull/107 - PR reviews: - https://github.com/aurora-is-near/aurora-engine/pull/51#pullrequestreview-665874914 - https://github.com/aurora-is-near/aurora-engine/pull/87#pullrequestreview-665555192 - https://github.com/aurora-is-near/aurora-engine/pull/88#pullrequestreview-670280490 - https://github.com/aurora-is-near/doc.aurora.dev/pull/12#pullrequestreview-670200044 ### Pierre-Alain Ouvrard - Release client libraries (v1.4.0 eNEAR), Release frontend. - https://github.com/aurora-is-near/rainbow-bridge-client/tree/v1.4.0 - Fix find-replacement-tx issue for multisig wallets and handle network errors. - Fix NEAR Wallet redirect issue: - https://github.com/aurora-is-near/rainbow-bridge-client/issues/38 - UI improvements from Matt: - Record bridge direction - Fix back button navigation - Metamask metadata PR for erc20 NEAR: - https://github.com/MetaMask/contract-metadata/pull/859 - Work on verifying eNEAR on Etherscan. - Refactoring, adding typescript, updating release process. ### Yulian Lavysh - Round ops - BD initiatives - Coordinating the eNEAR relase - Legal structure ## Discussion ### [eNEAR launch](https://aurora.dev/blog/near-on-ethereum) - SushiSwap and DODO are considering the incentivized farming of the pools - Ruler is interested in cooperation with both AMMs on the integration ### ETH connector deployment - Deployment of the connector today (Arto + Kirill + Marcelo) - Right after the deployment we would release TestNet Faucet - Faucet frontend is required - At the moment connector is deployed at `develop.aurora` account; later today it will be deployed at `aurora` - Usage of the connector is available now only through CLI tools - `eth-connector` branch to be merged into `develop` and when it's ready, it should be merged to `master` - Two PRs from Michael to be merged before the release - A feature flag (on the exit precompiles) should be added to before the merge of `eth-connector` ### Math API additions - Evgeny Kapun to communicate to Joshua the need of a test ### EthCC conference - Aurora team to visit the EthCC conference. Come join us there! ## Next week - Ahmed Ali: - More docs for HardHat + Sample DApp - Documenting the solidity part in the Rainbow-bridge - Troubleshooting MetaMask confirmation notifications with the RPC-Relayer - Alex Shevchenko: - Invest round - Partner management - Legal setup - Hiring (DevOps, Marketing, BD) - Arto Bendiken: - Document all the things. - Roll out edge infrastructure. - Roll out block explorer. - CLI for the ETH & ERC-20 connectors. - Evgeny Kapun: - More work on host funtions (Math API) - Code reviews - Evgeny Ukhanov: - Support of eth-connector - erc20-connector implementation - ??? to be discussed - Frank Braun: - `evm-bully`: determine break point automatically. - get dev feedback for `evm-bully replay-tx`. - Joshua J. Bouw: - Wrap up Math API - Selfdestruct issue - Kirill Abramov: - Continue working on Hardhat tests for precompiles; - Continue working on integration-tests for promise deferring; - Review everything coming to `aurora-engine`. - Marcelo Fornet: - Finishing exit precompiles - Finish eth-connector and erc20-connector - Merge PRs from `rainbow-bridge` repo - Matt Henderson: - Testnet ETH transfer UI - Possibly Mainnet ETH transfer UI - eNEAR release followups - Basecamp organization - Update the roadmap on the web-site - Michael Birch: - TBD - Documentation - Pierre-Alain Ouvrard: - Add checks for Ethereum -> NEAR transfer finalization -- dependant on the indexing / view function in the factory contract - Aurora ETH/Erc20 transfers - Yulian Lavysh: - Support of the fundraise activities - Legal setup