nomad-xyz / monorepo

Nomad Monorepo -- SDKs, Contracts, and more!
https://www.nomad.xyz
Apache License 2.0
118 stars 28 forks source link

Sanity test for token approvals #570

Closed prestwich closed 1 year ago

prestwich commented 1 year ago

Simple fork test ensures that the bridge can approve and the accountant can transferFrom. This test checks that no token weirdness prevents the bridge router from approving, or the approval from working

Motivation

Defense in depth against outside token state breaking accountant/bridge communication

PR Checklist