From b165e678b42be676bc6737e1d42e246a74e02ab0 Mon Sep 17 00:00:00 2001 From: Marc Garreau <3621728+marcgarreau@users.noreply.github.com> Date: Mon, 5 Apr 2021 12:54:57 -0600 Subject: [PATCH] add newsfragment --- docs/examples.rst | 2 +- newsfragments/1933.doc.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 newsfragments/1933.doc.rst diff --git a/docs/examples.rst b/docs/examples.rst index cb44ed6d25..803952e33f 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -287,7 +287,7 @@ instance, you can read data and execute transactions. # 42 # update state: - tx_hash = contract.functions.updateValue(43).transact() + tx_hash = contract_instance.functions.updateValue(43).transact() Deploying new contracts diff --git a/newsfragments/1933.doc.rst b/newsfragments/1933.doc.rst new file mode 100644 index 0000000000..4e145e83dc --- /dev/null +++ b/newsfragments/1933.doc.rst @@ -0,0 +1 @@ +Add existing contract interaction to docs examples.