13 questions
Best practices
0
votes
0
replies
16
views
Is there a way to reference contracts deployed on anvil in a typescript test?
Right now, I am deployed contracts on anvil with a script, logging the addresses, and hardcoding it into my viem typescript test. Is there a more seamless way to do ts tests in conjunction with smart ...
0
votes
1
answer
933
views
Foundry - Anvil mainnet fork EvmError: NotActivated
I am using anvil (Foundry) to create a local fork and run my own transaction in it.
Anvil version: anvil 0.1.0 (0e72b71 2023-07-19T00:37:38.599511000Z)
The thing is when I run my transaction i am ...
0
votes
1
answer
56
views
plate number for a form in an app from a line of text in python
from a string of text, for example: ['ANT', 'ECUADOR', 'PCP-5453', '0184947', 'ANTi4LTe']
I need to extract only texts that are similar to PCP-5453.
this should be:
3 letters
one symbol '-'
and from 3 ...
1
vote
0
answers
114
views
Anvil TypeError: string indices must be integers
I call a function to the server from anvil
results = anvil.server.call('ask_qna', topic, question, when='1D', num=10, top_k=3)
the server then returns the results but I get a the following error:
...
2
votes
1
answer
805
views
Google Data Studio Community Connector: Accessing URL Parameters in App Script
I am following the Row level filtering with Embedded dashboards tutorial to build a secure, multi-tenant dashboard using Data Studio as the reporting UI/backend (and Anvil as the front-end in Python), ...
0
votes
1
answer
2k
views
How to use an external server as an Uplink and to host the web app simultaneously?
I am not really familiar with how the Anvil server works in terms of authentication and communication between server, uplink, and client. However, I will try to explain the issue as much as I can, ...
1
vote
1
answer
2k
views
Upload csv file in Anvil with uplink
I have an error like this:
TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given at <ipython-input 4-66c1c8f89515>, line 8 called from Form1, line 18
this my code in ...