Partavate-Studios / orbiter8-multiverse-bobabeam

An entry to Boba+Moonbeam's Bridging Collaboration Hackathon - 2022
3 stars 0 forks source link

BobaBase's L2BOBAToken.approve() is Disabled #13

Open excalq opened 2 years ago

excalq commented 2 years ago

When attempting to make an exit fee payment to the Boba bridge, the approve() call (on L2BOBAToken at 0x4200000000000000000000000000000000000006`) fails with this reason:

'execution reverted: L2_BOBA: approve is disabled pending further community discussion.'

See the full trace at https://gist.github.com/excalq/20c444fb8b60ecb237c00d33430e9162.

Are we using the wrong address? The one used is taken from https://github.com/bobanetwork/boba/tree/docs-in-monrepo/packages/contracts/deployments/bobabase (linked from the Boba dev docs.)

excalq commented 2 years ago

Interestingly, changing the L2BOBAToken address to 0x4200000000000000000000000000000000000023 (L2_GLMR (DEV)) (The L1's Token on the L2 network), the revert error changes to:

'{"jsonrpc":"2.0","error":{"code":-32000,"message":"execution reverted: Billing contract address is not set"},"id":84}\n'

[This appears to indicate] (https://github.com/bobanetwork/boba_base/blob/main/packages/boba/contracts/contracts/bridges/L2NFTBridge.sol#L96) that Boba's bobabase L2NFTBridge has not been fully initialized.